Scalr\Tests\System\Config\YamlTest::testLoadIni PHP Method

testLoadIni() public method

public testLoadIni ( )
    public function testLoadIni()
    {
        $config = Yaml::load($this->getFixture('test-parameters.ini'));
        $this->assertInstanceOf(self::CONFIG_CLASS, $config);
        $this->assertInternalType('array', $config->toArray());
        $this->assertEquals($config->toArray(), json_decode($config->toJson(), true));
        $this->assertNotEmpty($config->getModified());
        $this->assertNotEmpty($config->getPath());
        $this->assertEmpty($config->getImports());
    }