* @param uri
* @param params
* @return
*/
public RequestContextMock doHttp(RequestContextMockFactory.RequestMethod requestMethod, String uri, Map params, Map cookies){
RequestContextMock rc = requestContextFactory.createRequestContext(requestMethod, uri);
rc.setParamMap(params);
rc.setCookieMap(cookies);
webController.service(rc);
return rc;
}