@Test
public void testPyrrole_2() throws Exception {

    SmilesParser p = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = p.parseSmiles("c1c[nH]cc1");
    assertThat(mol.getBond(mol.getAtom(0), mol.getAtom(1)).getOrder(), is(IBond.Order.DOUBLE));
    assertThat(mol.getBond(mol.getAtom(1), mol.getAtom(2)).getOrder(), is(IBond.Order.SINGLE));
    assertThat(mol.getBond(mol.getAtom(2), mol.getAtom(3)).getOrder(), is(IBond.Order.SINGLE));
    assertThat(mol.getBond(mol.getAtom(3), mol.getAtom(4)).getOrder(), is(IBond.Order.DOUBLE));
    assertThat(mol.getBond(mol.getAtom(4), mol.getAtom(0)).getOrder(), is(IBond.Order.SINGLE));
    atomtype(mol);
    Aromaticity.cdkLegacy().apply(mol);
    for (IAtom atom : mol.atoms()) {
        assertTrue(atom.getFlag(CDKConstants.ISAROMATIC));
    }
}