@Test
void test() {

  Map<TermId, Collection<TermId>> termLabels = TermAnnotations.constructTermAnnotationToLabelsMap(ontology, recipeAnnotations);
  Map<TermId, Double> informationContent = computation.computeInformationContent(termLabels);
  assertEquals(7, informationContent.size());
  assertEquals(0.0, informationContent.get(idVegetable), 0.001);
  assertEquals(0.0, informationContent.get(idRootVegetable), 0.001);
  assertEquals(0.405, informationContent.get(idLeafVegetable), 0.001);
  assertEquals(0.405, informationContent.get(idCarrot), 0.001);
  assertEquals(0.405, informationContent.get(idBeet), 0.001);
  assertEquals(0.405, informationContent.get(idPumpkin), 0.001);
  assertEquals(1.099, informationContent.get(idBlueCarrot), 0.01);
}