@Test
    void verifyOAuth2StoreOperation() throws Throwable {
        val config = new OAuth20Configuration();
        config.setKey(UUID.randomUUID().toString());
        config.setSecret(UUID.randomUUID().toString());
        val client = new OAuth20Client();
        client.setConfiguration(config);
        val ticket = delegatedClientAuthenticationWebflowManager.store(requestContext, context, client);
        assertNotNull(ticketRegistry.getTicket(ticket.getId()));
        val service = delegatedClientAuthenticationWebflowManager.retrieve(requestContext, context, client);
        assertNotNull(service);
        assertNull(ticketRegistry.getTicket(ticket.getId()));
    }
This is {@link DefaultDelegatedClientAuthenticationWebflowManagerOidcTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-pac4j-oidc/src/test/java/org/apereo/cas/web/flow/DefaultDelegatedClientAuthenticationWebflowManagerOidcTests.java