@Test
        void verifyOperation() {
            val principal = CoreAuthenticationTestUtils.getPrincipal("cas", Map.of("title", List.of(UID)));
            val attributes = PrincipalAttributeRepositoryFetcher.builder()
                .attributeRepository(aggregatingAttributeRepository)
                .principalId("unknown")
                .currentPrincipal(principal)
                .build()
                .fromAllAttributeRepositories()
                .retrieve();
            assertNotNull(attributes);
            assertFalse(attributes.isEmpty());
        }
This is {@link PrincipalAttributeRepositoryFetcherLdapTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-ldap/src/test/java/org/apereo/cas/authentication/PrincipalAttributeRepositoryFetcherLdapTests.java