@Test
        void verifyScript() throws Throwable {
            val action = WebflowActionBeanSupplier.builder()
                .withApplicationContext(applicationContext)
                .withProperties(casProperties)
                .withAction(() -> new StaticEventExecutionAction("pass"))
                .withId("customActionId")
                .build()
                .get();

            val context = MockRequestContext.create(applicationContext);
            assertEquals("result", action.execute(context).getId());
        }
This is {@link WebflowActionBeanSupplierTests}.

@author Misagh Moayyed
@since 6.6.0
core/cas-server-core-webflow-api/src/test/java/org/apereo/cas/web/flow/actions/WebflowActionBeanSupplierTests.java