protected function createDummyControllerContext()
    {
        $httpRequest = Request::create(new Uri('http://neos.io'));
        $request = new ActionRequest($httpRequest);
        $response = new Response();
        $arguments = new Arguments([]);
        $uriBuilder = new UriBuilder();
        $uriBuilder->setRequest($request);

        return new ControllerContext($request, $response, $arguments, $uriBuilder);
    }
protected function createDummyControllerContext()
    {
        $httpRequest = Request::create(new Uri('http://neos.io'));
        $request = new ActionRequest($httpRequest);
        $response = new Response();
        $arguments = new Arguments([]);
        $uriBuilder = new UriBuilder();
        $uriBuilder->setRequest($request);

        return new ControllerContext($request, $response, $arguments, $uriBuilder);
    }
protected function createDummyControllerContext ( ) { $ httpRequest = Request :: create ( new Uri ( 'http://neos.io' ) ) ; $ request = new ActionRequest ( $ httpRequest ) ; $ response = new Response ( ) ; $ arguments = new Arguments ( [ ] ) ; $ uriBuilder = new UriBuilder ( ) ; $ uriBuilder -> setRequest ( $ request ) ; return new ControllerContext ( $ request , $ response , $ arguments , $ uriBuilder ) ; }
Create a dummy controller context

@return ControllerContext
Create a dummy controller context