@Test
    void verifyTokenSave() {
        val otp = getRandomOtp();
        val token = oneTimeTokenAuthenticatorTokenRepository.store(new GoogleAuthenticatorToken(otp, userId));
        assertNotNull(token);
        assertTrue(oneTimeTokenAuthenticatorTokenRepository.exists(userId, otp));
        val foundToken = oneTimeTokenAuthenticatorTokenRepository.get(userId, otp);
        assertTrue(foundToken.getId() > 0);
        oneTimeTokenAuthenticatorTokenRepository.clean();
        googleAuthenticatorTokenRepositoryCleaner.clean();
    }
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