### Question:
JShellScriptEngineFactory implements ScriptEngineFactory { @Override public List<String> getMimeTypes() { return Arrays.asList("text/x-jshell-source"); }  @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();  }### Answer:
@Test public void testGetMimeTypes() { JShellScriptEngineFactory factory = new JShellScriptEngineFactory(); assertThat(factory.getMimeTypes()).isEqualTo(Arrays.asList("text/x-jshell-source")); }