GeneOrthologModel implements GeneModel { @Override public String toString() { return "GeneOrthologModel{" + "modelId='" + modelId + '\'' + ", organism=" + organism + ", entrezGeneId=" + entrezGeneId + ", humanGeneSymbol='" + humanGeneSymbol + '\'' + ", modelGeneId='" + modelGeneId + '\'' + ", modelGeneSymbol='" + modelGeneSymbol + '\'' + ", phenotypeIds=" + phenotypeIds + '}'; } GeneOrthologModel(String modelId, Organism organism, int entrezGeneId, String humanGeneSymbol, String modelGeneId, String modelGeneSymbol, List<String> phenotypeIds); String getModelGeneId(); String getModelGeneSymbol(); @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() { assertThat(instance.toString(), not(startsWith("de.charite.compbio"))); }