@Test
        void verifyMultipleRegDisabled() throws Exception {
            val context = MockRequestContext.create();
            val acct = GoogleAuthenticatorAccount.builder()
                .username(UUID.randomUUID().toString())
                .name(UUID.randomUUID().toString())
                .secretKey("secret")
                .validationCode(123456)
                .scratchCodes(List.of())
                .id(RandomUtils.nextLong())
                .build();
            googleAuthenticatorAccountRegistry.save(acct);
            context.getFlowScope().put(OneTimeTokenAccountCreateRegistrationAction.FLOW_SCOPE_ATTR_ACCOUNT, acct);
            assertEquals(CasWebflowConstants.TRANSITION_ID_ERROR, googleSaveAccountRegistrationAction.execute(context).getId());
        }
This is {@link GoogleAuthenticatorSaveRegistrationActionTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-gauth/src/test/java/org/apereo/cas/gauth/web/flow/GoogleAuthenticatorSaveRegistrationActionTests.java