@Test
    void verifyMissingClient() {
        val facebookProfile = new FacebookProfile();
        facebookProfile.setId(ID);
        fbClient.setProfileCreator((callContext, sessionStore) -> Optional.of(facebookProfile));

        val cc = new ClientCredential(new AnonymousCredentials(), "UnknownClient");
        assertThrows(PreventedException.class, () -> handler.authenticate(cc, mock(Service.class)));
    }
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