@Test
        void verifyActionUserlessToken() throws Throwable {
            val context = MockRequestContext.create(applicationContext);
            val token = passwordManagementService.createToken(PasswordManagementQuery.builder().build());
            context.getFlowScope().put("token", token);
            assertEquals(CasWebflowConstants.TRANSITION_ID_ERROR, initPasswordResetAction.execute(context).getId());
        }
This is {@link InitPasswordResetActionTests}.

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