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