toArray() public method

public toArray ( )
 public function testXmlConffile()
 {
     $fileDir = __DIR__ . '/../../Fixtures/';
     $xmlFilePath = $fileDir . 'file.xml';
     $xmlFile = new File($xmlFilePath);
     $xmlConf = new XmlConfigurationFile();
     $xmlConf->loadConfiguration($xmlFile);
     $result = $xmlConf->toArray();
     $this->assertInternalType('array', $result);
     $this->assertNotEmpty($result);
 }