');
$result = pq('.wrapper');
if ( $result->size() == $testResult )
	print "Test '{$testName}' PASSED :)";
else
	print "Test '{$testName}' 
 !!! ";
$result->dump();
print "\n";
$testName = 'WrapInner';
$testResult = 3;
phpQuery::newDocumentFile('test.html')
	->find('li:first')
		->wrapInner('
');
$result = pq('.wrapper p');
if ( $result->size() == $testResult )
	print "Test '{$testName}' PASSED :)";
else
	print "Test '{$testName}' 
FAILED !!! ";
print $result->dump();
print "\n";
// TODO !
$testName = 'WrapAllTest';
/*
$doc = phpQuery::newDocumentHTML('
');
$doc['#myDiv']->append('hors paragraphe
Test
hors paragraphe')
	->contents()
		->not('[nodeType=1]')
			->wrap('
');
var_dump((string)$doc);
*/
//$testResult = 3;
//phpQuery::newDocumentFile('test.html')
//	->find('li:first')
//		->wrapInner('
');
//$result = pq('.wrapper p');
//if ( $result->size() == $testResult )
//	print "Test '{$testName}' PASSED :)";
//else
//	print "Test '{$testName}' FAILED !!! ";
//print $result->dump();
//print "\n";
?>