@Test
    void verifyExpiredTokens() {
        val token = new GoogleAuthenticatorToken(1111, userId);
        token.setIssuedDateTime(LocalDateTime.now(ZoneOffset.UTC).plusHours(1));
        oneTimeTokenAuthenticatorTokenRepository.store(token);
        var t1 = oneTimeTokenAuthenticatorTokenRepository.get(userId, token.getToken());
        assertEquals(token, t1);
        oneTimeTokenAuthenticatorTokenRepository.clean();
        t1 = oneTimeTokenAuthenticatorTokenRepository.get(userId, t1.getToken());
        assertNull(t1);
    }
This is {@link GoogleAuthenticatorDynamoDbTokenRepositoryTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-gauth-dynamodb/src/test/java/org/apereo/cas/gauth/token/GoogleAuthenticatorDynamoDbTokenRepositoryTests.java