@Bean
        public ServicesManager servicesManager() {
            return mock(ServicesManager.class);
        }
This is {@link ChainingPrincipalAttributesRepositoryTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-person-directory/src/test/java/org/apereo/cas/ChainingPrincipalAttributesRepositoryTests.java