@RetryingTest(3)
    void verifyCaseInsensitiveUser() {
        val otp = getRandomOtp();
        val token = (OneTimeToken) new GoogleAuthenticatorToken(otp, userId.toUpperCase(Locale.ENGLISH));
        oneTimeTokenAuthenticatorTokenRepository.store(token);
        await().untilAsserted(() -> assertTrue(oneTimeTokenAuthenticatorTokenRepository.exists(userId.toLowerCase(Locale.ENGLISH), otp)));
        await().untilAsserted(() -> assertNotNull(oneTimeTokenAuthenticatorTokenRepository.get(userId.toLowerCase(Locale.ENGLISH), otp)));
    }
This is {@link BaseOneTimeTokenRepositoryTests}.

@author Timur Duehr
@since 6.0.0
support/cas-server-support-gauth-core/src/test/java/org/apereo/cas/gauth/token/BaseOneTimeTokenRepositoryTests.java