protected String getLdif(final String user) {
        val baseDn = getCasProperties().getAuthn().getMfa().getGauth().getLdap().getBaseDn();
        return String.format("dn: cn=%s,%s%n"
            + "objectClass: top%n"
            + "objectClass: person%n"
            + "objectClass: organizationalPerson%n"
            + "objectClass: inetOrgPerson%n"
            + "cn: %s%n"
            + "userPassword: 123456%n"
            + "sn: %s%n"
            + "uid: %s%n", user, baseDn, user, user, user);
    }
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/OpenLdapGoogleAuthenticatorTokenCredentialRepositoryTests.java