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

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("C#CC=CC"); //
    addExplicitHydrogens(mol);
    IAtomType.Hybridization[] expectedStates = new IAtomType.Hybridization[]{IAtomType.Hybridization.SP1,
            IAtomType.Hybridization.SP1, IAtomType.Hybridization.SP2, IAtomType.Hybridization.SP2,
            IAtomType.Hybridization.SP3};
    for (int i = 0; i < expectedStates.length; i++) {
        Assert.assertEquals(expectedStates[i].ordinal(), ((IntegerResult) descriptor.calculate(mol.getAtom(i), mol)
                .getValue()).intValue());
    }
}