public function editable($html, $content, $field)
{
return $this->handlers['html']->editable($html, $content, $field, $this->safe);
}
public function testEditable() { $app = $this->getApp(); $handlers = $this->getTwigHandlers($app); $handlers['html'] = $this->getMockHandler('HtmlHandler', 'editable'); $twig = new TwigExtension($app, $handlers, true); $twig->editable(null, new Content($app), null, null); }