cas.getDocumentAnnotation().setStringValue(stringFeat, "TestString");
String path = "/stringFeature";
FeaturePath featurePath = new FeaturePathImpl();
featurePath.initialize(path);
assertEquals(path, featurePath.getFeaturePath());
featurePath.typeInit(cas.getDocumentAnnotation().getType());
assertEquals("TestString", featurePath.getStringValue(cas
.getDocumentAnnotation()));
assertEquals("TestString", featurePath.getValueAsString(cas
.getDocumentAnnotation()));
assertEquals(TypeClass.TYPE_CLASS_STRING, featurePath.getTypClass(cas