@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);
    List<Map<Integer, Integer>> result = instance.getMappings();
    Assert.assertEquals(2, result.size());
}