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

    IAtomicDescriptor descriptor = new AtomDegreeDescriptor();
    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("CC(C)CCCC"); //
    Assert.assertEquals(3, ((IntegerResult) descriptor.calculate(mol.getAtom(1), mol).getValue()).intValue());
}