@Test
    void verifyFlowSkipped() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setFlowExecutionContext(CasWebflowConfigurer.FLOW_ID_LOGIN);

        val service = RegisteredServiceTestUtils.getRegisteredService(UUID.randomUUID().toString());
        service.setPasswordlessPolicy(new DefaultRegisteredServicePasswordlessPolicy().setEnabled(false));
        servicesManager.save(service);
        WebUtils.putRegisteredService(context, service);

        assertEquals(CasWebflowConstants.TRANSITION_ID_PASSWORDLESS_SKIP, prepareLoginAction.execute(context).getId());
    }
This is {@link PrepareForPasswordlessAuthenticationActionTests}.

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