KotlinScriptEngineFactory implements ScriptEngineFactory { @Override public ScriptEngine getScriptEngine() { return new KotlinScriptEngine(this); }  @Override String getEngineName(); @Override String getEngineVersion(); @Override String getLanguageName(); @Override String getLanguageVersion(); @Override List<String> getNames(); @Override List<String> getMimeTypes(); @Override List<String> getExtensions(); @Override ScriptEngine getScriptEngine(); @Override Object getParameter(String key); @Override String getMethodCallSyntax(String obj, String m, String... args); @Override String getOutputStatement(String toDisplay); @Override String getProgram(String... statements);  }
@Test public void testGetScriptEngine() { ScriptEngine engine; assertNotNull(engine = factory.getScriptEngine()); assertTrue(engine instanceof KotlinScriptEngine); }