### Question:
ScriptRegistrar { public static boolean isCompiledScript(final String scriptName) { return compiledScripts.contains(getCasedName(scriptName)); }  static void registerCompiledScript(final String scriptName); static void registerDynamicScript(final String scriptName); static boolean isCompiledScript(final String scriptName); static boolean isDynamicScript(final String scriptName);  }### Answer:
@Test public void testIsCompiledScript() { final String scriptName = "TEST SCRIPT FOR COMPILING CHECK"; ScriptRegistrar.registerCompiledScript(scriptName); assertThat(ScriptRegistrar.isCompiledScript(scriptName)).isTrue(); }
@Test public void testIsNotCompiledScript() { final String scriptName = "THIS SCRIPT WILL NEVER EVER BE COMPILED WHOOP WHOOP"; assertThat(ScriptRegistrar.isCompiledScript(scriptName)).isFalse(); }