ResultStatus resultStatus = createMock(ResultStatus.class);
ResultPostProcessor processor = createStrictMock(ResultPostProcessor.class);
RequestBody body = createNiceMock(RequestBody.class);
ResourceInstance resource = createNiceMock(ResourceInstance.class);
ResourceDefinition resourceDefinition = createNiceMock(ResourceDefinition.class);
Renderer renderer = new MinimalRenderer();
Request request = getTestRequest(null, body, uriInfo, compiler, handler, processor, resource);
//expectations
expect(uriInfo.getQueryParameters()).andReturn(queryParams).anyTimes();