@Test
public void testEncodeUrl() {

  HttpServletRequest wrappedSimple = mock(HttpServletRequest.class);
  HttpRequestWrapper req = new HttpRequestWrapper(wrappedSimple, servletContext);
  req.encodeURL("someUrl");
  verify(sessionManager).encodeUrl(req, "someUrl");
}