@Test public void testGetEngineVersion() { JavaScriptEngineFactory factory = new JavaScriptEngineFactory(); assertThat(factory.getEngineVersion()).isEqualTo("2.0.0"); }
@Override public String getEngineVersion() { return "2.0.0"; }
JavaScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineVersion() { return "2.0.0"; } }
JavaScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineVersion() { return "2.0.0"; }  }
JavaScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineVersion() { return "2.0.0"; }  @Override String getEngineName(); @Override String getEngineVersion(); @Override List<String> getExtensions(); @Override List<String> getMimeTypes(); @Override List<String> getNames(); @Override String getLanguageName(); @Override String getLanguageVersion(); @Override Object getParameter(String key); @Override String getMethodCallSyntax(String obj, String method, String... args); @Override String getOutputStatement(String toDisplay); @Override String getProgram(String... statements); @Override ScriptEngine getScriptEngine(); }
JavaScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineVersion() { return "2.0.0"; }  @Override String getEngineName(); @Override String getEngineVersion(); @Override List<String> getExtensions(); @Override List<String> getMimeTypes(); @Override List<String> getNames(); @Override String getLanguageName(); @Override String getLanguageVersion(); @Override Object getParameter(String key); @Override String getMethodCallSyntax(String obj, String method, String... args); @Override String getOutputStatement(String toDisplay); @Override String getProgram(String... statements); @Override ScriptEngine getScriptEngine();  }