@Test
public void testDictionaryType() {

    DescriptorEngine engine = new DescriptorEngine(IMolecularDescriptor.class,
            DefaultChemObjectBuilder.getInstance());
    String className = "org.openscience.cdk.qsar.descriptors.molecular.ZagrebIndexDescriptor";
    DescriptorSpecification specRef = new DescriptorSpecification(
            "http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#zagrebIndex", this.getClass()
                    .getName(), "The Chemistry Development Kit");
    Assert.assertEquals("molecularDescriptor", engine.getDictionaryType(className));
    Assert.assertEquals("molecularDescriptor", engine.getDictionaryType(specRef));
}