/** * @test */ public function renderSetsExtbaseControllerActionNameInRequest() { $this->addMockViewToSubject(); $this->request->expects($this->once())->method('setControllerActionName')->with('foo'); $configuration = array('extbase.' => array('controllerActionName' => 'foo')); $this->subject->render($configuration); }