pipeline.annotate(document);
SemanticGraph ccProcessed = document.get(CoreAnnotations.SentencesAnnotation.class).get(0)
.get(
SemanticGraphCoreAnnotations.CollapsedCCProcessedDependenciesAnnotation.class);
Collection<TypedDependency> dependencies = ccProcessed.typedDependencies();
GrammaticalRelation expected = EnglishGrammaticalRelations.getConj("and");
assertThat(dependencies.stream().map(d -> d.reln()).collect(toList()),
hasItem(expected));
}