public function testCacheHash() { $app = $this->getApp(); $handlers = $this->getTwigHandlers($app); $handlers['html'] = $this->getMockHandler('HtmlHandler', 'cacheHash'); $twig = new TwigExtension($app, $handlers, true); $twig->cacheHash(null); }