public function testSafeString() { $app = $this->getApp(); $handlers = $this->getTwigHandlers($app); $handlers['text'] = $this->getMockHandler('TextHandler', 'safeString'); $twig = new TwigExtension($app, $handlers, true); $twig->safeString(null, null, null); }