use of org.openlca.io.ilcd.input.UnitGroupImport in project olca-modules by GreenDelta.
the class ILCDImportExportTest method testC_Units.
@Test
public void testC_Units() {
String id = "93a60a57-a4c8-11da-a746-0800200c9a66";
var dataSet = importConf.store().get(UnitGroup.class, id);
var group = new UnitGroupImport(importConf).run(dataSet);
assertEquals(id, group.refId);
new UnitGroupExport(exportConf).run(group);
assertTrue(exportConf.store.contains(UnitGroup.class, id));
}
Aggregations