@Test
public void testtestGetStructures2() throws Exception {

    IAtomContainer molecule = builder.newInstance(IAtomContainer.class);
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addBond(0, 1, IBond.Order.SINGLE);
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addBond(1, 2, IBond.Order.DOUBLE);
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addBond(2, 3, IBond.Order.SINGLE);
    molecule.getAtom(3).setFormalCharge(-1);
    molecule.addLonePair(new LonePair(molecule.getAtom(3)));
    addExplicitHydrogens(molecule);
    StructureResonanceGenerator gR = new StructureResonanceGenerator();
    IAtomContainerSet setOfMolecules = gR.getStructures(molecule);
    Assert.assertEquals(2, setOfMolecules.getAtomContainerCount());
    IAtomContainer molecule2 = builder.newInstance(IAtomContainer.class);
    molecule2.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule2.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule2.addBond(0, 1, IBond.Order.DOUBLE);
    molecule2.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule2.addBond(1, 2, IBond.Order.SINGLE);
    molecule2.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule2.addBond(2, 3, IBond.Order.SINGLE);
    molecule2.getAtom(2).setFormalCharge(-1);
    molecule2.addLonePair(new LonePair(molecule2.getAtom(2)));
    addExplicitHydrogens(molecule2);
    QueryAtomContainer qAC = QueryAtomContainerCreator.createSymbolAndChargeQueryContainer(molecule2);
    Assert.assertTrue(new UniversalIsomorphismTester().isIsomorph(setOfMolecules.getAtomContainer(1), qAC));
}