@Override
public InputStream getContentStream() throws IOException {
return new ByteArrayInputStream(requestBody);
}
};
recordingResponse = new RestxResponseWrapper(restxResponse) {
private Stopwatch stopwatch = Stopwatch.createUnstarted();
private ByteArrayOutputStream baos;
private PrintWriter writer;
private OutputStream realOS;
public HttpStatus status = HttpStatus.OK;