@Test
    void verifyDoChangeWithValidSession() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        val tgt = new MockTicketGrantingTicket("casuser");
        ticketRegistry.addTicket(tgt);
        WebUtils.putTicketGrantingTicket(context, tgt);
        context.setParameter(PasswordManagementService.PARAMETER_DO_CHANGE_PASSWORD, "true");
        assertEquals(CasWebflowConstants.TRANSITION_ID_RESET_PASSWORD, validatePasswordResetTokenAction.execute(context).getId());
    }
This is {@link ValidatePasswordResetTokenActionTests}.

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