@Test
        void verifyOperation() throws Exception {
            val context = MockRequestContext.create(applicationContext);
            val webContext = new JEEContext(context.getHttpServletRequest(), context.getHttpServletResponse());
            assertFalse(delegatedIdentityProviders.findAllClients(webContext).isEmpty());
            assertFalse(delegatedIdentityProviders.findAllClients(RegisteredServiceTestUtils.getService(), webContext).isEmpty());
            assertTrue(delegatedIdentityProviders.findClient("CasClient", webContext).isPresent());
        }
This is {@link DefaultDelegatedIdentityProvidersTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-pac4j-webflow/src/test/java/org/apereo/cas/support/pac4j/DefaultDelegatedIdentityProvidersTests.java