@Test
    public void testValuesSet() {
        var facebookClient = newFacebookClient();
        val clients = new Clients(facebookClient);
        final AjaxRequestResolver ajaxRequestResolver = new DefaultAjaxRequestResolver();
        final UrlResolver urlResolver = new DefaultUrlResolver();
        final CallbackUrlResolver callbackUrlResolver = new QueryParameterCallbackUrlResolver();
        final AuthorizationGenerator authorizationGenerator = (ctx, profile) -> Optional.of(profile);
        clients.setCallbackUrl(CALLBACK_URL);
        clients.setAjaxRequestResolver(ajaxRequestResolver);
        clients.setUrlResolver(urlResolver);
        clients.setCallbackUrlResolver(callbackUrlResolver);
        clients.addAuthorizationGenerator(authorizationGenerator);
        clients.findAllClients();
        assertEquals(CALLBACK_URL, facebookClient.getCallbackUrl());
        assertEquals(urlResolver, facebookClient.getUrlResolver());
        assertEquals(callbackUrlResolver, facebookClient.getCallbackUrlResolver());
        assertEquals(ajaxRequestResolver, facebookClient.getAjaxRequestResolver());
        assertEquals(authorizationGenerator, facebookClient.getAuthorizationGenerators().get(0));
    }
This class tests the {@link Clients} class.

@author Jerome Leleu
@since 1.3.0
pac4j-core/src/test/java/org/pac4j/core/client/ClientsTests.java