servletContext.setAttribute(Globals.MODULE_KEY, new ModuleConfigImpl(""));
FieldAccessor.set(servletConfig, "context", servletContext);
servletContext.setAttribute(Globals.MESSAGES_KEY, resources);
pageContext.getServletContextReturn = servletContext;
pageContext.getSessionReturn = request.getSession();
jspWriter = new MockJspWriter();
pageContext.getOutReturn = jspWriter;
}