You are here

public function Twig_Tests_Loader_ArrayTest::testIsFresh in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/Loader/ArrayTest.php \Twig_Tests_Loader_ArrayTest::testIsFresh()

File

vendor/twig/twig/test/Twig/Tests/Loader/ArrayTest.php, line 56

Class

Twig_Tests_Loader_ArrayTest

Code

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