@Test
public void testAromaticAtomsCountDescriptor() throws java.lang.Exception {

    Object[] params = {true};
    descriptor.setParameters(params);
    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("CCOc1ccccc1"); // ethanol
    Assert.assertEquals(6, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
}