Neos\Flow\Tests\FunctionalTestRequestHandler::setHttpResponse PHP Method

setHttpResponse() public method

Allows to set the currently processed HTTP response by the base functional test case.
Deprecation: since Flow 3.3, use setComponentContext() instead
public setHttpResponse ( Response $response ) : void
$response Neos\Flow\Http\Response
return void
    public function setHttpResponse(\Neos\Flow\Http\Response $response)
    {
        $this->getComponentContext()->replaceHttpResponse($response);
    }