loadXML(''); $this->component = new ComponentElement($dom->documentElement); } public function testNameCanBeRetrieved() { $this->assertEquals('phar-io/phive', $this->component->getName()); } public function testEmailCanBeRetrieved() { $this->assertEquals('0.6.0', $this->component->getVersion()); } }