@Test
@Category(SlowTest.class)
public void testGetContainer_IAtomContainer_IAtom() throws Exception {

    IAtomContainer molecule = builder.newInstance(IAtomContainer.class);
    IAtom atom1 = builder.newInstance(IAtom.class, "C");
    atom1.setID("atom1");
    molecule.addAtom(atom1);
    IAtom atom2 = builder.newInstance(IAtom.class, "C");
    atom2.setID("atom2");
    molecule.addAtom(atom2);
    molecule.addBond(0, 1, IBond.Order.SINGLE);
    IAtom atom3 = builder.newInstance(IAtom.class, "C");
    atom3.setID("atom3");
    molecule.addAtom(atom3);
    molecule.addBond(1, 2, IBond.Order.DOUBLE);
    IAtom atom4 = builder.newInstance(IAtom.class, "C");
    atom4.setID("atom4");
    molecule.addAtom(atom4);
    atom4.setFormalCharge(+1);
    molecule.addBond(2, 3, IBond.Order.SINGLE);
    molecule.addAtom(new Atom("C"));
    molecule.addBond(3, 4, IBond.Order.SINGLE);
    molecule.addAtom(new Atom("C"));
    molecule.addBond(4, 5, IBond.Order.SINGLE);
    molecule.addAtom(new Atom("C"));
    molecule.addBond(5, 6, IBond.Order.DOUBLE);
    molecule.addAtom(new Atom("C"));
    molecule.getAtom(7).setFormalCharge(+1);
    molecule.addBond(6, 7, IBond.Order.SINGLE);
    addExplicitHydrogens(molecule);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    lpcheck.saturate(molecule);
    StructureResonanceGenerator sRG = new StructureResonanceGenerator();
    IAtomContainer container = sRG.getContainer(molecule, atom4);
    Assert.assertEquals(3, container.getAtomCount());
    Assert.assertEquals(2, container.getBondCount());
    Assert.assertTrue(container.contains(atom4));
}