@Override
    protected String getUsernameUnderTest() throws Exception {
        val uid = super.getUsernameUnderTest();
        @Cleanup
        val connection = new LDAPConnection("localhost", 10389, "cn=Directory Manager", "password");
        val bindInit = new BindConnectionInitializer("cn=Directory Manager", new Credential("password"));
        val rs = new ByteArrayInputStream(getLdif(uid).getBytes(StandardCharsets.UTF_8));
        LdapIntegrationTestsOperations.populateEntries(connection, rs, "ou=people,dc=example,dc=org", bindInit);

        return uid;
    }
This is {@link LdapGoogleAuthenticatorTokenCredentialRepositoryTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-gauth-ldap/src/test/java/org/apereo/cas/gauth/credential/LdapGoogleAuthenticatorTokenCredentialRepositoryTests.java