PathogenicityData { public List<PathogenicityScore> getPredictedPathogenicityScores() { return new ArrayList<>(pathogenicityScores.values()); } 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 testGetPredictedPathogenicityScores() { PathogenicityData instance = PathogenicityData.of(POLYPHEN_PASS, MTASTER_PASS, SIFT_FAIL); List<PathogenicityScore> expResult = ImmutableList.of(POLYPHEN_PASS, MTASTER_PASS, SIFT_FAIL); List<PathogenicityScore> result = instance.getPredictedPathogenicityScores(); assertThat(result, equalTo(expResult)); }