@Test
    void verifyOperation() throws Throwable {
        val provisioner = new GroovyDelegatedClientUserProfileProvisioner(new ClassPathResource("delegated-provisioner.groovy"));
        val commonProfile = new CommonProfile();
        commonProfile.setClientName("CasClient");
        commonProfile.setId("testuser");
        val client = new CasClient(new CasConfiguration("http://cas.example.org"));
        provisioner.execute(CoreAuthenticationTestUtils.getPrincipal(), commonProfile, client,
            CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword());
    }
This is {@link GroovyDelegatedClientUserProfileProvisionerTests}.

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