public function testRenderBySpecToNamedResponseSegment()
 {
     $this->request->setModuleName('bar')->setControllerName('index')->setActionName('index');
     $controller = new Bar_IndexController($this->request, $this->response, array());
     $this->helper->renderBySpec('foo', array('controller' => 'test', 'suffix' => 'php'), 'foo');
     $body = $this->response->getBody('foo');
     $this->assertContains('Rendered test/foo.php', $body);
 }