### Question:
RhinoCompiledScript extends CompiledScript { @Override public ScriptEngine getEngine() { return engine; } RhinoCompiledScript(final RhinoScriptEngine engine, final Script compiledScript); @Override Object eval(final ScriptContext scriptContext); @Override ScriptEngine getEngine(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void shouldReturnCorrectEngine() { assertThat(testScript.getEngine()).isEqualTo(mockEngine); }