@Test
    public void testGetRequestUrl() throws Exception {
        when(request.getRequestURL()).thenReturn(new StringBuffer("https://pac4j.org?name=value&name2=value2"));
        WebContext context = new JEEContext(request, response);
        assertEquals("https://pac4j.org", context.getRequestURL());
    }
Tests {@link JEEContext}.

@author Jerome Leleu
@since 3.0.0
pac4j-jakartaee/src/test/java/org/pac4j/jee/context/JEEContextTest.java