public function testOrder() { $app = $this->getApp(); $handlers = $this->getTwigHandlers($app); $handlers['array'] = $this->getMockHandler('ArrayHandler', 'order'); $twig = new TwigExtension($app, $handlers, true); $twig->order(null, null, null); }