OmimPriorityResult extends AbstractPriorityResult { @Override public double getScore() { return score; } OmimPriorityResult(int geneId, String geneSymbol, double score, List<Disease> diseases, Map<ModeOfInheritance, Double> scoresByMode); List<Disease> getAssociatedDiseases(); Map<ModeOfInheritance, Double> getScoresByMode(); double getScoreForMode(ModeOfInheritance modeOfInheritance); @Override double getScore(); @Override String getHTMLCode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testGetScore() { OmimPriorityResult instance = new OmimPriorityResult(1234, "GENE1", 1d, Collections.emptyList(), Collections.emptyMap()); assertThat(instance.getScore(), equalTo(1d)); }