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