コード例 #1
0
 public function testNotFound()
 {
     $root = new SimpleDOM('<root />');
     $expected_return = array();
     $return = $root->getElementsByTagName('inexistent');
     $this->assertEquals($expected_return, $return);
 }