Code Duplication    Length = 5-5 lines in 2 locations

tests/WSDL/XML/XMLStyle/XMLRpcStyleTest.php 2 locations

@@ 131-135 (lines=5) @@
128
        $sequenceActual = $sequenceActual->item(0);
129
        $this->assertEquals('xsd:sequence', $sequenceActual->tagName);
130
        $DOMElements1Nodes = $sequenceActual->getElementsByTagName('xsd:element');
131
        foreach ($DOMElements1Nodes as $DOMElements1Node) {
132
            $this->assertEquals('xsd:element', $DOMElements1Node->tagName);
133
            $this->assertEquals('name', $DOMElements1Node->getAttribute('name'));
134
            $this->assertEquals('xsd:string', $DOMElements1Node->getAttribute('type'));
135
        }
136
    }
137
138
    /**
@@ 233-237 (lines=5) @@
230
        $this->assertEquals('xsd:sequence', $sequenceActual->tagName);
231
232
        $DOMElements1Nodes = $sequenceActual->getElementsByTagName('xsd:element');
233
        foreach ($DOMElements1Nodes as $DOMElements1Node) {
234
            $this->assertEquals('xsd:element', $DOMElements1Node->tagName);
235
            $this->assertEquals('name', $DOMElements1Node->getAttribute('name'));
236
            $this->assertEquals('xsd:string', $DOMElements1Node->getAttribute('type'));
237
        }
238
    }
239
240
    /**