public function setUp()
{
$this->view = $this->getMockBuilder(Mvc\View\JsonView::class)->setMethods(['loadConfigurationFromYamlFile'])->getMock();
$this->controllerContext = $this->getMockBuilder(Mvc\Controller\ControllerContext::class)->disableOriginalConstructor()->getMock();
$this->response = $this->createMock(Http\Response::class);
$this->controllerContext->expects($this->any())->method('getResponse')->will($this->returnValue($this->response));
$this->view->setControllerContext($this->controllerContext);
}