### Question:
CDKRMapHandler { public synchronized List<Map<Integer, Integer>> getMappings() { return mappings; } CDKRMapHandler(); synchronized IAtomContainer getSource(); synchronized void setSource(IAtomContainer aSource); synchronized IAtomContainer getTarget(); synchronized void setTarget(IAtomContainer aTarget); synchronized List<Map<Integer, Integer>> calculateOverlapsAndReduce(IAtomContainer molecule1,
            IAtomContainer molecule2, boolean shouldMatchBonds, boolean shouldMatchRings, boolean matchAtomType); synchronized List<Map<Integer, Integer>> calculateOverlapsAndReduce(IAtomContainer molecule1,
            IQueryAtomContainer molecule2); synchronized void calculateOverlapsAndReduceExactMatch(
            IAtomContainer Molecule1,
            IAtomContainer Molecule2,
            boolean shouldMatchBonds,
            boolean shouldMatchRings,
            boolean matchAtomType); synchronized List<Map<Integer, Integer>> calculateSubGraphs(IAtomContainer Molecule1,
            IAtomContainer Molecule2,
            boolean shouldMatchBonds,
            boolean shouldMatchRings,
            boolean matchAtomType); synchronized List<Map<Integer, Integer>> calculateIsomorphs(IAtomContainer Molecule1,
            IAtomContainer Molecule2,
            boolean shouldMatchBonds,
            boolean shouldMatchRings,
            boolean matchAtomType); synchronized List<Map<Integer, Integer>> getMappings(); synchronized void setMappings(List<Map<Integer, Integer>> mappings); boolean isTimeout(); void setTimeout(boolean timeout);  }### Answer:
@Test public void testGetMappings() throws InvalidSmilesException, CDKException { IChemObjectBuilder builder = DefaultChemObjectBuilder.getInstance(); SmilesParser sp = new SmilesParser(builder); IAtomContainer Molecule1 = sp.parseSmiles("O1C=CC=C1"); IAtomContainer Molecule2 = sp.parseSmiles("O1C=CC=C1"); CDKRMapHandler instance = new CDKRMapHandler(); instance.calculateOverlapsAndReduceExactMatch(Molecule1, Molecule2, true, false,false); List<Map<Integer, Integer>> result = instance.getMappings(); Assert.assertEquals(2, result.size()); }