FeatureStructure2 featureStructure2 = new FeatureStructure2(cas);
featureStructure2.setFeature1("token1Feature3Feature1");
featureStructure1.setFeature3(featureStructure2);
annotation1.setFeatureStructure1(featureStructure1);
annotationDescription.getFeatureDescriptions().add(new FeatureDescription("feature1"));
annotationDescription.setFeaturePath("featureStructure1");
AnnotationTokenStream annotationTokenStream = annotationTokenStreamBuilder.createAnnotationTokenStream(cas, annotationDescription);
assertEquals(annotation1Type, annotationTokenStream.getAnnotationType());
assertEquals(1, annotationTokenStream.getFeatureNames().size());
assertEquals(0, annotationTokenStream.getFeatureFormats().size());