@Test
    void verifyOperation() throws Throwable {
        assertNotNull(scriptResourceCacheManager);
        val scriptFactory = ExecutableCompiledScriptFactory.getExecutableCompiledScriptFactory();
        assertNotNull(scriptFactory);
        try (val script = scriptFactory.fromScript("return 1L")) {
            val result = script.execute(ArrayUtils.EMPTY_OBJECT_ARRAY, Long.class);
            assertEquals(1, result);
        }
    }
This is {@link GroovyExecutableCompiledScriptFactoryTests}.

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