@Test
    void verifyMultipleAccountsWithNoId() {
        for (var i = 0; i < 2; i++) {
            val acct = GoogleAuthenticatorAccount.builder()
                .username("casuser")
                .name(String.format("account-%s", i))
                .secretKey("secret")
                .validationCode(123456)
                .scratchCodes(List.of(222222, 333333))
                .build();
            googleAuthenticatorAccountRegistry.save(acct);
        }
        val cred = new GoogleAuthenticatorTokenCredential("112233", null);
        assertThrows(PreventedException.class,
            () -> validator.validate(CoreAuthenticationTestUtils.getAuthentication("casuser"), cred));
    }
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