@Override
                    public RegisteredServicePrincipalAttributesRepository getPrincipalAttributesRepository() {
                        val repo = mock(RegisteredServicePrincipalAttributesRepository.class);
                        when(repo.getAttributeRepositoryIds()).thenReturn(Set.of("StubPersonAttributeDao"));
                        return repo;
                    }
Test cases for {@link PersonDirectoryPrincipalResolver}.

@author Misagh Moayyed
@since 4.2
support/cas-server-support-person-directory-core/src/test/java/org/apereo/cas/authentication/principal/resolvers/PersonDirectoryPrincipalResolverTests.java