@Test
    void verifyDelete() {
        val username = UUID.randomUUID().toString();
        val toSave = OneTimeTokenAccount.builder()
            .username(username)
            .secretKey("secret")
            .validationCode(143211)
            .scratchCodes(CollectionUtils.wrapList(1, 2, 3, 4, 5, 6))
            .name(UUID.randomUUID().toString())
            .build();
        registry.save(toSave);
        registry.delete(username);
        assertEquals(0, registry.count());
    }
This is {@link RedisGoogleAuthenticatorTokenCredentialRepositoryTests}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-gauth-redis/src/test/java/org/apereo/cas/gauth/credential/RedisGoogleAuthenticatorTokenCredentialRepositoryTests.java