@Test
    void verifyOperation() throws Exception {
        assertNotNull(delegatedClientSaml2SessionManager.getName());

        val context = MockRequestContext.create(applicationContext);
        val webContext = new JEEContext(context.getHttpServletRequest(), context.getHttpServletResponse());


        val oauthClient = identityProviders.findClient("OAuth20Client", webContext).orElseThrow();
        val googleClient = identityProviders.findClient("GoogleClient", webContext).orElseThrow();
        assertTrue(delegatedClientSaml2SessionManager.supports(googleClient));
        assertTrue(delegatedClientSaml2SessionManager.supports(oauthClient));

        val ticket = new TransientSessionTicketImpl(UUID.randomUUID().toString(),
            NeverExpiresExpirationPolicy.INSTANCE, RegisteredServiceTestUtils.getService(), Map.of());

        delegatedClientSaml2SessionManager.trackIdentifier(webContext, ticket, googleClient);
        delegatedClientSaml2SessionManager.trackIdentifier(webContext, ticket, oauthClient);
        assertEquals(ticket.getId(), delegatedClientSaml2SessionManager.retrieveIdentifier(webContext, googleClient));
        assertEquals(ticket.getId(), delegatedClientSaml2SessionManager.retrieveIdentifier(webContext, oauthClient));
    }
This is {@link DelegatedClientOidcSessionManagerTests}.

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