### Question:
JSRhinoScriptEngine implements IScriptEngine { @Override public void shutdown() { Context.exit(); } JSRhinoScriptEngine(); @Override void compile(String scriptName, String programStr); @Override void loadFile(File file); @Override Object execFunc(String funcName, Object... args); @Override Object execFunc(String funcName); @Override Object execScript(String scriptName, Object... args); @Override void shutdown();  }### Answer:
@Test public void testShutdown () { JSRhinoScriptEngine engine = new JSRhinoScriptEngine(); engine.shutdown(); }