@Test
    void verifyOperation() {
        val id = UUID.randomUUID().toString();
        val token = new OneTimeToken(RandomUtils.nextInt(), id);
        repository.store(token);
        repository.remove(token.getUserId(), token.getToken());
        assertFalse(repository.exists(token.getUserId(), token.getToken()));
        repository.removeAll();
        assertEquals(0, repository.count());
    }
This is {@link CachingOneTimeTokenRepositoryTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-otp-mfa/src/test/java/org/apereo/cas/otp/repository/token/CachingOneTimeTokenRepositoryTests.java