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