public function order($array, $on, $onSecondary = '') { return $this->handlers['array']->order($array, $on, $onSecondary); }
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); }