@Test
    public void testRedirectionUrl() {
        val basicAuthClient = getBasicAuthClient();
        var context = MockWebContext.create();
        WithLocationAction action = (FoundAction) basicAuthClient.getRedirectionAction(
            new CallContext(context, new MockSessionStore())).get();
        assertEquals(CALLBACK_URL + "?" + Pac4jConstants.DEFAULT_CLIENT_NAME_PARAMETER + "=" + basicAuthClient.getName(),
            action.getLocation());
    }
This class tests the {@link IndirectBasicAuthClient} class.

@author Jerome Leleu
@since 1.4.0
pac4j-http/src/test/java/org/pac4j/http/client/indirect/IndirectBasicAuthClientTests.java