protected function setResponse(ResponseInterface $response) { RestTestingHelper::setProperty(self::getWebApiContext(), 'response', $response); }