KotlinScriptEngine extends AbstractScriptEngine implements ScriptEngine, Compilable { @Override public Bindings createBindings() { return new SimpleBindings(); } KotlinScriptEngine(KotlinScriptEngineFactory factory); @Override CompiledScript compile(String script); @Override Object eval(String script, ScriptContext context); Object evalClass(Class<?> clazz, Bindings ctx); Class<?> compileScript(File file); @Override Bindings createBindings(); @Override ScriptEngineFactory getFactory(); @Override CompiledScript compile(Reader script); @Override Object eval(Reader script, ScriptContext context);  }
@Test public void testCreateBindings() { assertNotNull(engine.createBindings()); }