private HttpServletRequest req4;
@Before
public void setUp()
{
ServletContextImpl context = mock(ServletContextImpl.class);
this.superReq1 = mock(HttpServletRequest.class);
when(this.superReq1.getContextPath()).thenReturn("/mycontext");
when(this.superReq1.getServletPath()).thenReturn("");
when(this.superReq1.getRequestURI()).thenReturn("/mycontext/request/to/resource");