Пример #1
0
 public function testSetParent()
 {
     $parent = new TXmlElement('parent');
     $child = new TXmlElement('child');
     $child->setParent($parent);
     self::assertEquals($parent, $child->getParent());
 }