Example #1
0
 public function testStacked()
 {
     $app = $this->getApp();
     $handlers = $this->getTwigHandlers($app);
     $handlers['admin'] = $this->getMockHandler('AdminHandler', 'stacked');
     $twig = new TwigExtension($app, $handlers, true);
     $twig->stacked(null);
 }