Nashorn implements JavascriptEngine<ScriptEngine> { @Override public ScriptEngine getEngine() { return engine; }  @Override void setScriptAlias(String alias); @Override void startRuntime(); @Override void executeScript(String script); @Override Object executeFunction(String name, Object... parameters); @Override void closeRuntime(); @Override ScriptEngine getEngine(); @Override void registerCallback(ISender sender, IPipeLineSession session); @Override void setResultHandler(ResultHandler resultHandler);  }
@Test public void testGetEngine() { Assert.assertNotNull(engine.getEngine()); }