@Test
    void verifyOperation() {
        val flow = (Flow) this.flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_LOGIN);
        assertNotNull(flow);
        val state = (TransitionableState) flow.getState(STATE_ID_SEND_FORGOT_USERNAME_INSTRUCTIONS);
        assertEquals(STATE_ID_FORGOT_USERNAME_ACCT_INFO,
            state.getTransition(TRANSITION_ID_CAPTCHA_ERROR).getTargetStateId());
    }
This is {@link ForgotUsernameCaptchaWebflowConfigurerTests}.

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