@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create(applicationContext).withUserAgent();
        val webContext = new JEEContext(context.getHttpServletRequest(), context.getHttpServletResponse());
        val casClient = identityProviders.findClient("CasClient", webContext).map(BaseClient.class::cast).orElseThrow();
        assertTrue(delegatedClientsOidcEndpointContributor.supports(casClient));
        assertFalse(delegatedClientsOidcEndpointContributor.contribute(casClient).isEmpty());
    }
This is {@link DelegatedClientsCasEndpointContributorTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-cas/src/test/java/org/apereo/cas/pac4j/web/DelegatedClientsCasEndpointContributorTests.java