@Test public void oneValueTest() { final Map<String, ExtendedRecord> input = createErMap("1_1"); final Map<String, BasicRecord> expectedNormal = createBrGbifIdMap("1_1"); UniqueGbifIdTransform gbifIdTransform = UniqueGbifIdTransform.builder().erMap(input).basicTransform(basicTransform).build().run(); Map<String, BasicRecord> brMap = gbifIdTransform.getBrMap(); Map<String, BasicRecord> brInvalidMap = gbifIdTransform.getBrInvalidMap(); Assert.assertEquals(expectedNormal.size(), brMap.size()); Assert.assertEquals(0, brInvalidMap.size()); assertMap(expectedNormal, brMap); }
public UniqueGbifIdTransform run() { return useSyncMode ? runSync() : runAsync(); }
UniqueGbifIdTransform { public UniqueGbifIdTransform run() { return useSyncMode ? runSync() : runAsync(); } }
UniqueGbifIdTransform { public UniqueGbifIdTransform run() { return useSyncMode ? runSync() : runAsync(); }  }
UniqueGbifIdTransform { public UniqueGbifIdTransform run() { return useSyncMode ? runSync() : runAsync(); }  UniqueGbifIdTransform run(); }
UniqueGbifIdTransform { public UniqueGbifIdTransform run() { return useSyncMode ? runSync() : runAsync(); }  UniqueGbifIdTransform run();  }