public function getParent() { return $this->_parent; }
public function testSetParent() { $parent = new TXmlElement('parent'); $child = new TXmlElement('child'); $child->setParent($parent); self::assertEquals($parent, $child->getParent()); }