public function testConfigConstructorOptions()
{
$config = new Config(array('dir' => __DIR__, 'ext' => 'test', 'gzip' => true, 'cache' => false, 'formatter' => null, 'swap_memory_limit' => 100));
$this->assertEquals(__DIR__ . DIRECTORY_SEPARATOR, $config->getDir());
$this->assertEquals('.test.gz', $config->getExt());
$this->assertTrue($config->useGzip());
$this->assertFalse($config->getCache());
$this->assertInstanceOf('Flintstone\\Formatter\\SerializeFormatter', $config->getFormatter());
$this->assertEquals(100, $config->getSwapMemoryLimit());
}