@Test
    void verifyOperation() throws Throwable {
        assertFalse(casWebflowExecutionPlan.getWebflowConfigurers().isEmpty());
        val flow = (Flow) this.flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_LOGIN);
        assertNotNull(flow);

        var state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_ACCEPT_PASSWORDLESS_AUTHENTICATION);
        assertNotNull(state);
        state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_PASSWORDLESS_DISPLAY);
        assertNotNull(state);
        state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_PASSWORDLESS_GET_USERID);
        assertNotNull(state);
        state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_PASSWORDLESS_VERIFY_ACCOUNT);
        assertNotNull(state);
        state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_PASSWORDLESS_DETERMINE_MFA);
        assertNotNull(state);

        val requestContext = MockRequestContext.create(applicationContext);
        val event = passwordlessInitializeCaptchaAction.execute(requestContext);
        assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, event.getId());
        assertNotNull(WebUtils.getRecaptchaSiteKey(requestContext));
        assertTrue(PasswordlessWebflowUtils.isPasswordlessCaptchaEnabled(requestContext));
    }
This is {@link PasswordlessAuthenticationWebflowConfigurerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-webflow/src/test/java/org/apereo/cas/web/flow/PasswordlessAuthenticationWebflowConfigurerTests.java