CDKRMapHandler { public void setMappings(List<Map<Integer, Integer>> mappings) { this.mappings = mappings; } CDKRMapHandler(); IAtomContainer getSource(); void setSource(IAtomContainer aSource); IAtomContainer getTarget(); void setTarget(IAtomContainer aTarget); void calculateOverlapsAndReduce(IAtomContainer molecule1, IAtomContainer molecule2, boolean shouldMatchBonds); void calculateOverlapsAndReduceExactMatch(IAtomContainer molecule1, IAtomContainer molecule2,
            boolean shouldMatchBonds); void calculateSubGraphs(IAtomContainer molecule1, IAtomContainer molecule2, boolean shouldMatchBonds); void calculateIsomorphs(IAtomContainer molecule1, IAtomContainer molecule2, boolean shouldMatchBonds); List<Map<Integer, Integer>> getMappings(); void setMappings(List<Map<Integer, Integer>> mappings); boolean isTimeoutFlag(); void setTimeoutFlag(boolean timeoutFlag);  }
@Test public void testSetMappings() { Map<Integer, Integer> map = new TreeMap<Integer, Integer>(); map.put(0, 0); map.put(1, 1); List<Map<Integer, Integer>> mappings = new ArrayList<Map<Integer, Integer>>(); mappings.add(map); CDKRMapHandler instance = new CDKRMapHandler(); instance.setMappings(mappings); Assert.assertNotNull(instance.getMappings()); }