コード例 #1
0
ファイル: firstOf.php プロジェクト: laiello/simpledom
 public function testNoMatch()
 {
     $node = new SimpleDOM('<node><ignore /><child /><child id="15" /></node>');
     $actual = $node->firstOf('//nomatch');
     $this->assertNull($actual);
 }