/** * @expectedException Flintstone\Exception */ public function testConfigInvalidCache() { $config = new Config(); $config->setCache(new self()); }