@Test
    void verifyOperation() throws Exception {
        val requestContext = MockRequestContext.create(applicationContext);
        val flow = flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_PASSWORD_RESET);
        val state = (ActionState) flow.getState(CasWebflowConstants.STATE_ID_INIT_PASSWORD_RESET);
        for (val action : state.getExitActionList()) {
            action.execute(requestContext);
        }
        assertFalse(MultifactorAuthenticationWebflowUtils.isMultifactorDeviceRegistrationEnabled(requestContext));
        assertTrue(MultifactorAuthenticationTrustUtils.isMultifactorAuthenticationTrustedDevicesDisabled(requestContext));
    }
This is {@link PasswordManagementMultifactorTrustWebflowConfigurerTests}.

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