/** @throws Exception e */ public void setUp() throws Exception { super.setUp(); itemWriter = new MockItemWriter(new HashMap<String, Item>()); converter = new EnsemblComparaConverter(itemWriter, model); converter.rslv = IdResolverService.getMockIdResolver("Gene"); // converter.rslv = IdResolverService.getDoNothingIdResolver("Gene"); converter.rslv.addResolverEntry("7227", "FBgn00xxxxx", Collections.singleton("FBgn0013672")); converter.rslv.addResolverEntry("7227", "FBgn0010412", Collections.singleton("FBgn0010412")); converter.rslv.addResolverEntry("9606", "A", Collections.singleton("B")); }
public void setUp() throws Exception { super.setUp(); itemWriter = new MockItemWriter(new HashMap<String, Item>()); converter = new SgdIdentifiersConverter(itemWriter, model); }