@Test
public void testConnectedByRingClosure_TwoAtom() throws Exception {

    String methanol = "C1.O1";
    IAtomContainer mol = sp.parseSmiles(methanol);
    Assert.assertEquals(2, mol.getAtomCount());
    Assert.assertEquals(1, mol.getBondCount());
    IAtomContainerSet fragments = ConnectivityChecker.partitionIntoMolecules(mol);
    int fragmentCount = fragments.getAtomContainerCount();
    Assert.assertEquals(1, fragmentCount);
    IAtomContainer mol1 = fragments.getAtomContainer(0);
    Assert.assertEquals(2, mol1.getAtomCount());
}