@ConditionalOnMissingBean(name = PrincipalResolver.BEAN_NAME_ATTRIBUTE_REPOSITORY)
        @Bean
        public PersonAttributeDao attributeRepository() {
            val attrs = CollectionUtils.wrap(
                "uid", CollectionUtils.wrap("uid"),
                "mail", CollectionUtils.wrap("cas@apereo.org"),
                "eduPersonAffiliation", CollectionUtils.wrap("developer"),
                "groupMembership", CollectionUtils.wrap("adopters"));
            return new StubPersonAttributeDao((Map) attrs);
        }
This is {@link BaseCasWebflowMultifactorAuthenticationTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-webflow-mfa/src/test/java/org/apereo/cas/BaseCasWebflowMultifactorAuthenticationTests.java