### Question:
SingleMappingHandler implements IResults { @Override public synchronized List<AtomAtomMapping> getAllAtomMapping() { return Collections.unmodifiableList(allAtomMCS); } SingleMappingHandler(
            IAtomContainer source, 
            IAtomContainer target, 
            boolean shouldMatchRings);  SingleMappingHandler(
            IQueryAtomContainer source, 
            IAtomContainer target); @Override synchronized List<AtomAtomMapping> getAllAtomMapping(); @Override synchronized AtomAtomMapping getFirstAtomMapping();  }### Answer:
@Test public void testgetAllAtomMapping() { IAtom atomSource = new Atom("R"); IAtom atomTarget = new Atom("R"); IAtomContainer source = new AtomContainer(); source.addAtom(atomSource); IAtomContainer target = new AtomContainer(); target.addAtom(atomTarget); SingleMappingHandler instance = new SingleMappingHandler(source, target, false); Assert.assertNotNull(instance.getAllAtomMapping()); }
@Test public void testGetAllAtomMapping() { IAtom atomSource = new Atom("R"); IAtom atomTarget = new Atom("R"); IAtomContainer source = new AtomContainer(); source.addAtom(atomSource); IAtomContainer target = new AtomContainer(); target.addAtom(atomTarget); SingleMappingHandler instance = new SingleMappingHandler(source, target, false); Assert.assertNotNull(instance.getAllAtomMapping()); }