private static void mockRememberBypass(final TestMultifactorAuthenticationProvider provider, final Authentication authentication) {
        val authnAttributes = new HashMap<String, List<Object>>();
        authnAttributes.put(MultifactorAuthenticationProviderBypassEvaluator.AUTHENTICATION_ATTRIBUTE_BYPASS_MFA, List.of(Boolean.TRUE));
        authnAttributes.put(MultifactorAuthenticationProviderBypassEvaluator.AUTHENTICATION_ATTRIBUTE_BYPASS_MFA_PROVIDER, List.of(provider.getId()));
        when(authentication.getAttributes()).thenReturn(authnAttributes);
    }
This is {@link DefaultChainingMultifactorAuthenticationBypassProviderTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-mfa-api/src/test/java/org/apereo/cas/authentication/mfa/bypass/DefaultChainingMultifactorAuthenticationBypassProviderTests.java