Code Duplication    Length = 6-6 lines in 2 locations

src/Tests/_archive/test_multidoc.php 2 locations

@@ 15-20 (lines=6) @@
12
foreach ($doc1->find('p') as $node)
13
   $doc2->find('body')->append(pq($node));
14
$testResult = $doc2->find('p');
15
if ( $testResult->size() == 2*$doc1->find('p')->size() )
16
	print "Test '{$testName}' PASSED :)";
17
else {
18
	print "Test '{$testName}' <strong>FAILED</strong> !!!<br />";
19
	$testResult->whois();
20
}
21
22
$testName = 'Multi document append DOMNode';
23
$testResult = array(
@@ 31-36 (lines=6) @@
28
foreach ($doc1->find('p') as $node)
29
   $doc2->find('body')->append($node);
30
$testResult = $doc2->find('p');
31
if ( $testResult->size() == 2*$doc1->find('p')->size() )
32
	print "Test '{$testName}' PASSED :)";
33
else {
34
	print "Test '{$testName}' <strong>FAILED</strong> !!!<br />";
35
	$testResult->whois();
36
}
37
?>
38