GeneScore implements Comparable<GeneScore> { public float getVariantScore() { return variantScore; } private  GeneScore(Builder builder); GeneIdentifier getGeneIdentifier(); ModeOfInheritance getModeOfInheritance(); float getCombinedScore(); float getPhenotypeScore(); float getVariantScore(); List<VariantEvaluation> getContributingVariants(); boolean hasContributingVariants(); static GeneScore max(GeneScore s1, GeneScore s2); int compareTo(GeneScore anotherGeneScore); static int compare(GeneScore s1, GeneScore s2); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static GeneScore empty(); static Builder builder();  }
@Test public void getVariantScore() { GeneScore instance = GeneScore.builder() .variantScore(1f) .build(); assertThat(instance.getVariantScore(), equalTo(1f)); }