@Bean
        public CasSimpleMultifactorAuthenticationAccountService casSimpleMultifactorAuthenticationAccountService() {
            return (principal, attributes) -> {
                assertTrue(attributes.containsKey("email"));
                attributes.put("updated", true);
            };
        }
This is {@link DefaultCasSimpleMultifactorAuthenticationServiceTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/validation/DefaultCasSimpleMultifactorAuthenticationServiceTests.java