@Test
public void testSFBug956924() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("[cH+]1cccccc1"); // tropylium cation
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol);
    Assert.assertEquals(IAtomType.Hybridization.PLANAR3, mol.getAtom(0).getHybridization());
    for (int f = 1; f < mol.getAtomCount(); f++) {
        Assert.assertEquals(IAtomType.Hybridization.SP2, mol.getAtom(f).getHybridization());
    }
    Assert.assertTrue(DoubleBondAcceptingAromaticityDetector.detectAromaticity(mol));
    Assert.assertEquals(7, mol.getAtomCount());
    for (int f = 0; f < mol.getAtomCount(); f++) {
        Assert.assertNotNull(mol.getAtom(f));
        Assert.assertTrue(mol.getAtom(f).getFlag(CDKConstants.ISAROMATIC));
    }
}