示例#1
0
 public function testGetChildrenByTagnameReturnsCorrectNodelist()
 {
     $list = $this->node->getChildrenByTagName('node');
     $this->assertInstanceOf('DOMNodeList', $list);
     $this->assertEquals(2, $list->length);
 }