@Test
    void verifyAttribute() {
        val populator = new DelegatedClientAuthenticationMetaDataPopulator();
        val credentials = new ClientCredential(
            new UsernamePasswordCredentials("casuser", "pa$$"), "CasClient");
        val builder = CoreAuthenticationTestUtils.getAuthenticationBuilder();
        populator.populateAttributes(builder, CoreAuthenticationTestUtils.getAuthenticationTransactionFactory().newTransaction(credentials));
        val auth = builder.build();
        assertNotNull(auth.getAttributes().get(ClientCredential.AUTHENTICATION_ATTRIBUTE_CLIENT_NAME));

    }
This is {@link DelegatedClientAuthenticationMetaDataPopulatorTests}.

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