@Test
    void verifyOperation() {
        val input = new SuccessfulHandlerMetaDataPopulator();
        val transaction = CoreAuthenticationTestUtils.getAuthenticationTransactionFactory()
            .newTransaction(CoreAuthenticationTestUtils.getWebApplicationService(),
                CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword("cas"));
        val builder = new DefaultAuthenticationBuilder();
        input.populateAttributes(builder, transaction);
        assertFalse(builder.hasAttribute(AuthenticationHandler.SUCCESSFUL_AUTHENTICATION_HANDLERS));
        assertTrue(builder.getAttributes().get(AuthenticationHandler.SUCCESSFUL_AUTHENTICATION_HANDLERS).isEmpty());
    }
This is {@link SuccessfulHandlerMetaDataPopulatorTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/metadata/SuccessfulHandlerMetaDataPopulatorTests.java