@Test
    void verifyAction() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withDefaultMessageContext();
        context.setCurrentEvent(new Event(this, CasWebflowConstants.TRANSITION_ID_ERROR));
        val result = accountUnlockStatusPrepareAction.execute(context);
        assertEquals(0, context.getMessageContext().getAllMessages().length);
        assertTrue(context.getConversationScope().contains("captchaValue"));
        assertNull(result);
    }
This is {@link AccountUnlockStatusPrepareActionTests}.

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