@Test
    void verifyOperation() {
        val commonProfile = new CommonProfile();
        commonProfile.setClientName("CasClient");
        commonProfile.setId("testuser");
        val client = new CasClient(new CasConfiguration("http://cas.example.org"));

        val chain = new ChainingDelegatedClientUserProfileProvisioner(List.of(mock(DelegatedClientUserProfileProvisioner.class)));
        assertDoesNotThrow(() -> chain.execute(CoreAuthenticationTestUtils.getPrincipal(), commonProfile, client,
            CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword()));
    }
This is {@link ChainingDelegatedClientUserProfileProvisionerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-pac4j-core/src/test/java/org/apereo/cas/authentication/principal/provision/ChainingDelegatedClientUserProfileProvisionerTests.java