@Test
void testEncodeRedirectURL() {

    TestHttpServletResponse wrapped = new TestHttpServletResponse(null);
    HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper(wrapped);
    assertEquals("url", wrapper.encodeRedirectURL("url"));
}