@Test
    void verifyTokenAuthzWithScratchCode() {
        val acct = getOneTimeTokenAccount(List.of(223856));
        googleAuthenticatorAccountRegistry.save(acct);
        assertTrue(validator.isTokenAuthorizedFor(223856, acct));
        assertTrue(googleAuthenticatorAccountRegistry.get(acct.getId()).getScratchCodes().isEmpty());
    }
This is {@link GoogleAuthenticatorOneTimeTokenCredentialValidatorTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-gauth/src/test/java/org/apereo/cas/gauth/credential/GoogleAuthenticatorOneTimeTokenCredentialValidatorTests.java