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

    Object[] params = {Boolean.TRUE};
    descriptor.setParameters(params);
    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("CCCC(OCC)OCC(c1cccc2ccccc12)C4CCC(CCCO)C(CC3CNCNC3)C4"); //
    addExplicitHydrogens(mol);
    Assert.assertEquals(3, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
}