GeneDiseaseModel implements GeneModel { @Override public String toString() { return "GeneDiseaseModel{" + "modelId='" + modelId + '\'' + ", organism=" + organism + ", entrezGeneId=" + entrezGeneId + ", humanGeneSymbol='" + humanGeneSymbol + '\'' + ", diseaseId='" + diseaseId + '\'' + ", diseaseTerm='" + diseaseTerm + '\'' + ", phenotypeIds=" + phenotypeIds + '}'; } GeneDiseaseModel(String modelId, Organism organism, int entrezGeneId, String humanGeneSymbol, String diseaseId, String diseaseTerm, List<String> phenotypeIds); String getDiseaseId(); String getDiseaseTerm(); @Override Organism getOrganism(); @Override Integer getEntrezGeneId(); @Override String getHumanGeneSymbol(); @Override String getId(); @Override List<String> getPhenotypeIds(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { System.out.println(new GeneDiseaseModel("modelId", Organism.HUMAN, 12345, "GENE1", "DISEASE:1", "Thing's disease", Collections.emptyList())); }