CDKRMapHandler { public void setSource(IAtomContainer aSource) { source = aSource; } 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 testSetSource() { IAtomContainer expResult = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class); handler.setSource(expResult); IAtomContainer result = handler.getSource(); Assert.assertEquals(expResult, result); }