public function Twig_Tests_Loader_ChainTest::testGetCacheKeyWhenTemplateDoesNotExist in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/Loader/ChainTest.php \Twig_Tests_Loader_ChainTest::testGetCacheKeyWhenTemplateDoesNotExist()
@expectedException Twig_Error_Loader
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ Loader/ ChainTest.php, line 49
Class
Code
public function testGetCacheKeyWhenTemplateDoesNotExist() {
$loader = new Twig_Loader_Chain(array());
$loader
->getCacheKey('foo');
}