public function testStackItems() { $app = $this->getApp(); $handlers = $this->getTwigHandlers($app); $handlers['admin'] = $this->getMockHandler('AdminHandler', 'stackItems'); $twig = new TwigExtension($app, $handlers, true); $twig->stackItems(null); }