public function testGetRendererWithTwigTemplateEngineWithOtherPossibleSyntax() { $this->request->setModuleName('foo')->setControllerName('index'); $controller = new Foo_IndexController($this->request, $this->response, array()); $this->helper->setActionController($controller); $template = $this->helper->getRendererSwitcher('baz'); $this->assertEquals('twig', $template); }