Behat\RestTestingContext\BaseContext::setResponse PHP Method

setResponse() protected method

protected setResponse ( GuzzleHttp\Message\ResponseInterface $response ) : void
$response GuzzleHttp\Message\ResponseInterface
return void
    protected function setResponse(ResponseInterface $response)
    {
        RestTestingHelper::setProperty(self::getWebApiContext(), 'response', $response);
    }