function testCanGetNameOfRootObject() { $xml = new T_Xml('<root>data</root>'); $expect = new T_Xml_Element('<root>data</root>'); $this->assertSame($xml->getName(), $expect->getName()); }