/** * @testdox Ensure parseFiles() returns 0 when there are no children in the files tag * * @covers JInstaller::parseFiles */ public function testParseFilesWithNoChildren() { $emptyXml = new SimpleXMLElement('<files></files>'); $this->assertEquals(0, $this->object->parseFiles($emptyXml)); }