Mock implementation of HttpServletContext.
HttpServletContext
158159160161162163164165166
{ servletContext = new MockServletContext(); config = new MockServletConfig(servletContext); session = new MockHttpSession(); session.setServletContext(servletContext); request = new MockHttpServletRequest(session); request.setServletContext(servletContext); response = new MockHttpServletResponse(); }
180181182183184185186187188
session.setServletContext(servletContext); } protected void setUpServletRequestAndResponse() throws Exception { request = new MockHttpServletRequest(session); request.setServletContext(servletContext); response = new MockHttpServletResponse(); }
160161162163164165166167168
157158159160161162163164165