You are here

public function Twig_Tests_Loader_ChainTest::testGetCacheKeyWhenTemplateDoesNotExist in Zircon Profile 8

Same name and namespace in other branches
  1. 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

Twig_Tests_Loader_ChainTest

Code

public function testGetCacheKeyWhenTemplateDoesNotExist() {
  $loader = new Twig_Loader_Chain(array());
  $loader
    ->getCacheKey('foo');
}