public function testConfigCacheDisabled() { $app = $this->getApp(); $app['config']->set('general/caching/templates', false); $app->register(new TwigServiceProvider()); $this->assertArrayNotHasKey('cache', $app['twig.options']); }