GeneMatch { public static Builder builder() { return new Builder(); } private  GeneMatch(Integer queryGeneId, Integer matchGeneId, double score, List<GeneModelPhenotypeMatch> bestMatchModels); Integer getQueryGeneId(); Integer getMatchGeneId(); double getScore(); List<GeneModelPhenotypeMatch> getBestMatchModels(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); static final GeneMatch NO_HIT; }
@Test public void build() throws Exception { instance = GeneMatch.builder().build(); assertThat(instance, equalTo(GeneMatch.NO_HIT)); }