PathogenicityData { @JsonIgnore public boolean hasPredictedScore() { return !pathogenicityScores.isEmpty(); } private  PathogenicityData(ClinVarData clinVarData, Collection<PathogenicityScore> pathScores); static PathogenicityData of(PathogenicityScore pathScore); static PathogenicityData of(PathogenicityScore... pathScore); static PathogenicityData of(Collection<PathogenicityScore> pathScores); static PathogenicityData of(ClinVarData clinVarData, PathogenicityScore pathScore); static PathogenicityData of(ClinVarData clinVarData, PathogenicityScore... pathScore); static PathogenicityData of(ClinVarData clinVarData, Collection<PathogenicityScore> pathScores); static PathogenicityData empty(); ClinVarData getClinVarData(); boolean hasClinVarData(); List<PathogenicityScore> getPredictedPathogenicityScores(); @JsonIgnore boolean isEmpty(); @JsonIgnore boolean hasPredictedScore(); boolean hasPredictedScore(PathogenicitySource pathogenicitySource); PathogenicityScore getPredictedScore(PathogenicitySource pathogenicitySource); float getScore(); @Nullable PathogenicityScore getMostPathogenicScore(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testHasPredictedScore() { PathogenicityData instance = PathogenicityData.of(POLYPHEN_PASS, MTASTER_PASS, SIFT_FAIL); assertThat(instance.hasPredictedScore(), is(true)); }
@Test public void testHasPredictedScoreForSourceIsFalse() { assertThat(EMPTY_DATA.hasPredictedScore(PathogenicitySource.POLYPHEN), is(false)); }
@Test public void testHasNoPredictedScore() { assertThat(EMPTY_DATA.hasPredictedScore(), is(false)); }