@Test
    public void testHasDefaultProfileCreator() {
        val formClient
            = new DirectFormClient(new LocalCachingAuthenticator(new SimpleTestUsernamePasswordAuthenticator(), 10, 10, TimeUnit.DAYS));
        formClient.init();
    }
This class tests the {@link DirectFormClient} class.

@author Jerome Leleu
@since 1.8.6
pac4j-http/src/test/java/org/pac4j/http/client/direct/DirectFormClientTests.java