@Test
public void testPartialFilledStructureMerger3() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainerSet acs = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainerSet.class);
    acs.addAtomContainer(sp.parseSmiles("[CH2]CCC[CH2]"));
    acs.addAtomContainer(sp.parseSmiles("[CH2]C[CH2]"));
    acs.addAtomContainer(sp.parseSmiles("[CH2][CH2]"));
    PartialFilledStructureMerger pfsm = new PartialFilledStructureMerger();
    IAtomContainer result = pfsm.generate(acs);
    Assert.assertTrue(ConnectivityChecker.isConnected(result));
    Assert.assertTrue(new SaturationChecker().allSaturated(result));
}