SensitivityAnalysisResultExporters { public static Collection<String> getFormats() { List<String> formats = new ArrayList<>(); for (SensitivityAnalysisResultExporter e : ServiceLoader.load(SensitivityAnalysisResultExporter.class)) { formats.add(e.getFormat()); } return formats; } private  SensitivityAnalysisResultExporters(); static Collection<String> getFormats(); static SensitivityAnalysisResultExporter getExporter(String format); static void export(SensitivityAnalysisResult result, Path path, String format); static void export(SensitivityAnalysisResult result, Writer writer, String format);  }
@Test public void testGetFormats() { assertEquals("[CSV, JSON]", SensitivityAnalysisResultExporters.getFormats().toString()); }