HiPhiveOptions { @Override public int hashCode() { int result = diseaseId != null ? diseaseId.hashCode() : 0; result = 31 * result + (candidateGeneSymbol != null ? candidateGeneSymbol.hashCode() : 0); result = 31 * result + (benchmarkingEnabled ? 1 : 0); result = 31 * result + (runPpi ? 1 : 0); result = 31 * result + (runHuman ? 1 : 0); result = 31 * result + (runMouse ? 1 : 0); result = 31 * result + (runFish ? 1 : 0); return result; } private  HiPhiveOptions(Builder builder); static HiPhiveOptions defaults(); String getDiseaseId(); String getCandidateGeneSymbol(); boolean isBenchmarkingEnabled(); boolean runPpi(); boolean runFish(); boolean runMouse(); boolean runHuman(); boolean isBenchmarkHit(GeneModel model); Set<Organism> getOrganismsToRun(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder();  }
@Test public void testHashCode() { HiPhiveOptions instance = HiPhiveOptions.defaults(); HiPhiveOptions other = HiPhiveOptions.defaults(); assertThat(instance.hashCode(), equalTo(other.hashCode())); }