ExtractOperation { public static Map<String, String> getDefaultOptions() { Map<String, String> options = new HashMap<>(); options.put("individuals", "include"); options.put("imports", "include"); options.put("copy-ontology-annotations", "false"); options.put("annotate-with-source", "false"); options.put("intermediates", "all"); options.put("force", "false"); return options; }  static Map<String, String> getDefaultOptions(); static OWLOntology extract(
      OWLOntology inputOntology, Set<IRI> terms, IRI outputIRI, ModuleType moduleType); static OWLOntology extract(
      OWLOntology inputOntology,
      Set<IRI> terms,
      IRI outputIRI,
      ModuleType moduleType,
      Map<String, String> options); static OWLOntology extract(
      OWLOntology inputOntology,
      Set<IRI> terms,
      IRI outputIRI,
      ModuleType moduleType,
      Map<String, String> options,
      Map<IRI, IRI> sourceMap);  }
@Test public void testExtractIntermediatesNone() throws IOException, OWLOntologyCreationException { Map<String, String> options = ExtractOperation.getDefaultOptions(); options.put("intermediates", "none"); testExtract(ModuleType.STAR, "/none.owl", options); }