@Test
public void test1() throws Exception {

    String filename = "data/mdl/clorobenzene.mol";
    InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
    MDLV2000Reader reader = new MDLV2000Reader(ins);
    IAtomContainer container = reader.read(new AtomContainer());
    DescriptorValue count = descriptor.calculate(container);
    Assert.assertEquals(5, count.getValue().length());
    Assert.assertTrue(count.getValue() instanceof DoubleArrayResult);
    DoubleArrayResult result = (DoubleArrayResult) count.getValue();
    for (int i = 0; i < 5; i++) {
        Assert.assertFalse(Double.isNaN(result.get(i)));
        Assert.assertTrue(0.0 != result.get(i));
    }
}