@Test
    void verifySize() {
        oneTimeTokenAuthenticatorTokenRepository.removeAll();
        assertEquals(0, oneTimeTokenAuthenticatorTokenRepository.count(), "Repository is not empty");
        assertEquals(0, oneTimeTokenAuthenticatorTokenRepository.count());
        val uid = UUID.randomUUID().toString();
        val otp = getRandomOtp();
        val token = new GoogleAuthenticatorToken(otp, uid);
        oneTimeTokenAuthenticatorTokenRepository.store(token);
        assertTrue(oneTimeTokenAuthenticatorTokenRepository.count(uid) > 0);
    }
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