JamesMoss\Flywheel\ConfigTest::testSettingFormatter PHP Метод

testSettingFormatter() публичный Метод

    public function testSettingFormatter()
    {
        $path = __DIR__ . '/fixtures/datastore/writable';
        $config = new Config($path . '/', array('formatter' => new Formatter\YAML()));
        $this->assertInstanceOf('JamesMoss\\Flywheel\\Formatter\\YAML', $config->getOption('formatter'));
    }