toArray() public method

public toArray ( )
 public function testPhpWrongConfFile()
 {
     $this->setExpectedException('Fakerino\\Configuration\\Exception\\ConfNotSupportedException');
     $fileDir = __DIR__ . '/../../Fixtures/';
     $phpFilePath = $fileDir . 'fileWrongConf.php';
     $phpFile = new File($phpFilePath);
     $phpConf = new PhpConfigurationFile($phpFile);
     $this->assertInternalType('array', $phpConf->toArray());
 }