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