@BeforeAll
    public static void bootstrap() throws Exception {
        @Cleanup
        val localhost = new LDAPConnection("localhost", 10389, "cn=Directory Manager", "password");
        var input = IOUtils.toString(new ClassPathResource("ldif/ldap-repository.ldif").getInputStream(), StandardCharsets.UTF_8);
        input = input.replace("${cn}", CN);
        LdapIntegrationTestsOperations.populateEntries(localhost,
            new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)), "ou=people,dc=example,dc=org");
    }
This is {@link DefaultPersonDirectoryAttributeRepositoryPlanLdapTests}.

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