@Test
        @Order(2)
        void verifyPasswordResetMfaBypass() throws Exception {
            val context = MockRequestContext.create(applicationContext);
            val provider = new TestMultifactorAuthenticationProvider();
            provider.setBypassEvaluator(new PrincipalMultifactorAuthenticationProviderBypassEvaluator(
                "groupMembership", "adopters", provider.getId(), applicationContext));
            TestMultifactorAuthenticationProvider.registerProviderIntoApplicationContext(applicationContext, provider);
            context.setParameter(SendPasswordResetInstructionsAction.REQUEST_PARAMETER_USERNAME, "user-without-devices");
            WebUtils.putServiceIntoFlowScope(context, RegisteredServiceTestUtils.getService());
            assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, sendPasswordResetInstructionsAction.execute(context).getId());
        }
This is {@link SendPasswordResetInstructionsActionTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-pm-webflow/src/test/java/org/apereo/cas/pm/web/flow/actions/SendPasswordResetInstructionsActionTests.java