@Test
void testConstructTermAnnotationToLabelsMap() {

  Map<TermId, Collection<TermId>> map = TermAnnotations.constructTermAnnotationToLabelsMap(ontology, annotations);
  // 5 annotation classes (to four labels), thus we expect 5 keys
  assertEquals(5, map.size());
}