@Test
public void testIndolizine() throws CDKException {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer aromaticForm = sp.parseSmiles("c2cc1cccn1cc2");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(aromaticForm);
    boolean isAromatic = DoubleBondAcceptingAromaticityDetector.detectAromaticity(aromaticForm);
    Assert.assertTrue(isAromatic);
    // all atoms are supposed to be aromatic
    for (IAtom atom : aromaticForm.atoms()) {
        Assert.assertTrue(atom.toString() + " should be aromatic", atom.getFlag(CDKConstants.ISAROMATIC));
    }
}