@Test
        void verifyRegistration() throws Throwable {
            val context = MockRequestContext.create(applicationContext);
            WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(UUID.randomUUID().toString()), context);
            MultifactorAuthenticationWebflowUtils.putMultifactorAuthenticationProvider(context, dummyProvider);
            val event = action.execute(context);
            assertEquals(CasWebflowConstants.TRANSITION_ID_STOP, event.getId());
        }
This is {@link GoogleAuthenticatorAccountCheckRegistrationActionTests}.

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