return getResponse(request);
}
private ChunkedResponse getResponse(MockRequest request) {
ChunkedResponse response = (ChunkedResponse) responder.makeResponse(FitNesseUtil.makeTestContext(testData.localRoot), request);
response.turnOffChunking();
return response;
}
private MockRequest makeRequest(String remoteUrl) {
MockRequest request = new MockRequest();