assertThat(provider.getExportCommand(context).size(), is(1));
assertThat(provider.getFinalizeCommand(context).size(), is(1));
}
private BulkLoaderScript loadScript(JobflowInfo info) throws IOException {
PropertyLoader loader = new PropertyLoader(info.getPackageFile(), "default");
BulkLoaderScript script;
try {
List<ImportTable> importers = ImportTable.fromProperties(
loader.loadImporterProperties(),
getClass().getClassLoader());
List<ExportTable> exporters = ExportTable.fromProperties(
loader.loadExporterProperties(),
getClass().getClassLoader());
script = new BulkLoaderScript(importers, exporters);
} finally {
loader.close();
}
return script;
}