JamesMoss\Flywheel\ConfigTest::testSettingFormatter PHP Method

testSettingFormatter() public method

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