e2.addToIndexes();
EntityMention between = new EntityMention(jCas, 4, 7);
between.addToIndexes();
// run the feature extractor over the JCas
NamedEntityFeaturesExtractor extractor = new NamedEntityFeaturesExtractor();
List<Feature> features = extractor.extract(jCas, e1, e2);
// make sure that the features that we expect are there
assertTrue(features.contains(new Feature("mention1_TypeID", "42")));
assertTrue(features.contains(new Feature("mention2_TypeID", "1")));
assertTrue(features.contains(new Feature("Distance_EntityMention", 1)));