/** * @expectedException Twig_Error_Loader */ public function testGetCacheKeyWhenTemplateDoesNotExist() { $loader = new Twig_Loader_Chain(array()); $loader->getCacheKey('foo'); }
/** * {@inheritdoc} */ public function getCacheKey($name) { return $this->chainLoader->getCacheKey($name); }