@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withUserAgent().setClientInfo();
        assertEquals(CasWebflowConstants.TRANSITION_ID_SELECT, action.execute(context).getId());
        val profile = DelegatedAuthenticationCandidateProfile.builder()
            .attributes(CoreAuthenticationTestUtils.getAttributes())
            .id(UUID.randomUUID().toString())
            .key(UUID.randomUUID().toString())
            .linkedId("casuser")
            .build();
        DelegationWebflowUtils.putDelegatedClientAuthenticationResolvedCredentials(context, List.of(profile));
        assertEquals(CasWebflowConstants.TRANSITION_ID_FINALIZE, action.execute(context).getId());
    }
This is {@link DelegatedClientAuthenticationCredentialSelectionActionTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-pac4j-webflow/src/test/java/org/apereo/cas/web/flow/actions/DelegatedClientAuthenticationCredentialSelectionActionTests.java