public function test_renderView_calledWithCorrectArguments_properCallToViewPick() { $view_name = 'viewName'; $this->viewDouble->expects($this->once())->method('pick')->with($view_name); $this->sut->renderView($view_name, array()); }