@Test
    void verifyShellScript() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        val scriptFactory = ExecutableCompiledScriptFactory.getExecutableCompiledScriptFactory();
        val script = scriptFactory.fromScript("return new org.springframework.webflow.execution.Event(this, 'result')");
        val results = new GroovyScriptWebflowAction(script, casProperties);
        val result = results.execute(context);
        assertNotNull(result);
        assertEquals("result", result.getId());
    }
This is {@link GroovyScriptWebflowActionTests}.

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