@Test
    void verifyDeleteWithoutVerify() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        var acct = GoogleAuthenticatorAccount
            .builder()
            .username(UUID.randomUUID().toString())
            .name(UUID.randomUUID().toString())
            .secretKey(UUID.randomUUID().toString())
            .validationCode(123456)
            .scratchCodes(List.of(187345))
            .build();
        googleAuthenticatorAccountRegistry.save(acct);

        context.setParameter(OneTimeTokenAccountConfirmSelectionRegistrationAction.REQUEST_PARAMETER_ACCOUNT_ID, String.valueOf(acct.getId()));
        context.setParameter(OneTimeTokenAccountSaveRegistrationAction.REQUEST_PARAMETER_VALIDATE, "false");
        context.setParameter(GoogleAuthenticatorSaveRegistrationAction.REQUEST_PARAMETER_TOKEN, "187345");
        assertThrows(FailedLoginException.class, () -> action.execute(context));
    }
This is {@link GoogleAuthenticatorDeleteAccountActionTests}.

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