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'));
    }