@Test
public void prioritisedGeneWithKnownDiseasesAnyInheritance() {

    Gene gene = newGene();
    addHiPhiveResultWithScore(gene, PHENOTYPE_SCORE);
    InheritanceMode[] inheritanceModes = {InheritanceMode.AUTOSOMAL_DOMINANT};
    Map<ModeOfInheritance, Double> scores = new EnumMap<>(ModeOfInheritance.class);
    addOmimResultToGene(gene, scores, inheritanceModes);
    double score = instance.calculateGenePriorityScoreForMode(gene, ModeOfInheritance.ANY);
    assertThat(score, equalTo(PHENOTYPE_SCORE));
}