### Question:
Exporter { public File export(Dataset dataset) { DwcaExport exporter = new DwcaExport(dataset); exporter.run(); return exporter.dwca; } private  Exporter(File repository, ClbConfiguration cfg, DatasetService datasetService); static Exporter create(File repository, ClbConfiguration cfg, String registryWs); File export(Dataset dataset); File export(UUID datasetKey);  }### Answer:
@Test public void testExport() throws Exception { ClbConfiguration cfg = ClbConfigurationUtils.local(); File repository = new File("/Users/markus/Desktop/dwcas"); Exporter exp = Exporter.create(repository, cfg, "http: exp.export(dataset(Constants.NUB_DATASET_KEY)); exp.export(dataset(ClbDbTestRule.SQUIRRELS_DATASET_KEY)); }