@Test
        void verifyBadTicketAction() throws Throwable {
            val context = MockRequestContext.create(applicationContext);
            context.setParameter(PasswordManagementService.PARAMETER_PASSWORD_RESET_TOKEN, "badticket");
            assertEquals(CasWebflowConstants.TRANSITION_ID_ERROR, verifyPasswordResetRequestAction.execute(context).getId());
        }
This is {@link VerifyPasswordResetRequestActionTests}.

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