@Test
    public void testRedirectionUrl() {
        val formClient = getFormClient();
        var context = MockWebContext.create();
        WithLocationAction action = (FoundAction) formClient.getRedirectionAction(new CallContext(context, new MockSessionStore())).get();
        assertEquals(LOGIN_URL, action.getLocation());
    }
This class tests the {@link FormClient} class.

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