Fakerino\Test\Configuration\ConfigurationFile\YmlConfigurationFileTest::testEmptyYamlConfFile PHP Method

testEmptyYamlConfFile() public method

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