@Test
    void verifyOk() throws Throwable {
        val facebookProfile = new FacebookProfile();
        facebookProfile.setId(ID);
        fbClient.setProfileCreator((callContext, sessionStore) -> Optional.of(facebookProfile));
        val result = handler.authenticate(clientCredential, mock(Service.class));
        val principal = result.getPrincipal();
        assertEquals(FacebookProfile.class.getName() + '#' + ID, principal.getId());
    }
Tests the {@link DelegatedClientAuthenticationHandler}.

@author Jerome Leleu
@since 4.1.0
support/cas-server-support-pac4j-oidc/src/test/java/org/apereo/cas/support/pac4j/authentication/handler/DelegatedClientAuthenticationHandlerTests.java