assertEquals(1, ir.getInsertedObjects().size());
// there is a warning that the uom is created in org *, that's fine
assertTrue(ir.getWarningMessages() != null);
assertTrue(ir.getWarningMessages().indexOf(
"eventhough it does not belong to the target organization") != -1);
final BaseOBObject bob = ir.getInsertedObjects().get(0);
assertEquals(id, bob.getId());
commitTransaction();
// now reread the greeting and check that the space is still there
final UOM newUom = OBDal.getInstance().get(UOM.class, id);