when(httpSession.getServletContext()).thenReturn(servletContext);
MadvocController madvocController = new MadvocController();
Object action = new Object();
ActionConfig actionConfig = new ActionConfig(
Action.class,
ReflectUtil.findMethod(Action.class, "view"),
null, null,
new ActionDef(actionPath, "GET"),
null, false, null, null);
return new ActionRequest(madvocController, actionConfig.getActionPath(), actionConfig, action, servletRequest, servletResponse);
}