train_setContentType(hsr, contentType);
train_getOutputStream(hsr, new TestServletOutputStream());
replay();
Response response = new ResponseImpl(hsr);
ResourceStreamer streamer = getService(ResourceStreamer.class);
RequestGlobals globals = getService(RequestGlobals.class);
globals.storeRequestResponse(request, response);