@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create();

        val flow = new Flow("mockFlow");
        val flowSession = new MockFlowSession(flow);
        flowSession.setParent(new MockFlowSession(flow));
        val mockExecutionContext = new MockFlowExecutionContext(flowSession);
        context.setFlowExecutionContext(mockExecutionContext);

        assertTrue(DelegationWebflowUtils.getDelegatedAuthenticationProviderConfigurations(context).isEmpty());
        DelegationWebflowUtils.putDelegatedClientAuthenticationResolvedCredentials(context, List.of("C1"));
        assertNotNull(DelegationWebflowUtils.getDelegatedClientAuthenticationResolvedCredentials(context, String.class));
    }
This is {@link DelegationWebflowUtilsTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-pac4j-core/src/test/java/org/apereo/cas/web/flow/DelegationWebflowUtilsTests.java