@Test
        void verifyUnknownBadScript() {
            val scriptFactory = ExecutableCompiledScriptFactory.getExecutableCompiledScriptFactory();
            try (val shell = scriptFactory.fromScript("###$$@@@!!!***&&&")) {
                assertDoesNotThrow(() -> {
                    shell.execute(ArrayUtils.EMPTY_OBJECT_ARRAY);
                    shell.execute("run", Void.class, ArrayUtils.EMPTY_OBJECT_ARRAY);
                });
            }
        }
This is {@link GroovyShellScriptTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-scripting/src/test/java/org/apereo/cas/util/GroovyShellScriptTests.java