@Test
public void testHBondDonorCountDescriptor() throws ClassNotFoundException, CDKException, java.lang.Exception {

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