toArray() public method

public toArray ( )
 public function testYamlFileParseThatReturnAString()
 {
     $fileDir = __DIR__ . '/../../Fixtures/';
     $ymlFilePath = $fileDir . 'fileOneLine.yml';
     $confFile = new File($ymlFilePath);
     $ymlConf = new YmlConfigurationFile($confFile);
     $result = $ymlConf->toArray();
     $this->assertInternalType('array', $result);
 }