cas.getDocumentAnnotation().setStringValue(stringFeat, "MyExample");
cas.getDocumentAnnotation().setFeatureValue(refFeat,
cas.getDocumentAnnotation());
path = "/refFeature/refFeature/stringFeature";
featurePath = new FeaturePathImpl();
featurePath.initialize(path);
assertEquals(path, featurePath.getFeaturePath());
featurePath.typeInit(cas.getDocumentAnnotation().getType());
assertEquals(TypeClass.TYPE_CLASS_STRING, featurePath.getTypClass(cas
.getDocumentAnnotation()));
assertEquals(stringFeat.getRange(), featurePath.getType(cas