KotlinScriptEngineFactory implements ScriptEngineFactory { @Override public List<String> getMimeTypes() { return mimeTypes; }  @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 testGetMimeTypes() { assertEquals("[text/x-kotlin]", factory.getMimeTypes() + ""); }