### Question:
JavascriptRuntime implements IJavascriptRuntime { public static IJavascriptRuntime getInstance() { if (runtime == null) { runtime = new JavascriptRuntime(); } return runtime; }  static IJavascriptRuntime getInstance(); static void setDefaultWebEngine(IWebEngine e); @Override JSObject execute(String command); @Override String getConstructor(String javascriptObjectType, Object... args); @Override String getArrayConstructor(String javascriptObjectType, Object[] ary); @Override String getFunction(String variable, String function, Object... args); @Override String getFunction(String function, Object... args); @Override String getArrayFunction(String function, Object[] ary); static void setJavascriptRuntime(IJavascriptRuntime testRuntime); static IWebEngine engine; }### Answer:
@Test public void testGetInstance_NoDefaultSet() { assertTrue( JavascriptRuntime.getInstance() != mockJSRuntime ); }