예제 #1
0
 public function testNoMatch()
 {
     $node = new SimpleDOM('<node><ignore /><child /><child id="15" /></node>');
     $actual = $node->firstOf('//nomatch');
     $this->assertNull($actual);
 }