public function Twig_Tests_Loader_ArrayTest::testIsFreshWhenTemplateDoesNotExist

@expectedException Twig_Error_Loader

File

drupal/core/vendor/twig/twig/test/Twig/Tests/Loader/ArrayTest.php, line 65

Class

Twig_Tests_Loader_ArrayTest

Code

public function testIsFreshWhenTemplateDoesNotExist() {
  $loader = new Twig_Loader_Array(array());
  $loader
    ->isFresh('foo', time());
}