@Bean
    public List<PersonAttributeDao> attributeRepositories(
        @Qualifier(PrincipalResolver.BEAN_NAME_ATTRIBUTE_REPOSITORY) final PersonAttributeDao attributeRepository) {
        return CollectionUtils.wrap(attributeRepository);
    }
This is {@link CasPersonDirectoryTestConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-person-directory-core/src/test/java/org/apereo/cas/config/CasPersonDirectoryTestConfiguration.java