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