PhenoGridMatch { public String getType() { return type; } PhenoGridMatch(String id, String label, String type, List<PhenotypeMatch> phenotypeMatches, PhenoGridMatchScore score, PhenoGridMatchTaxon taxon); String getId(); String getLabel(); String getType(); List<PhenotypeMatch> getMatches(); PhenoGridMatchScore getScore(); PhenoGridMatchTaxon getTaxon(); @JsonIgnore Set<String> getQueryTermIds(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetType() { assertThat(instance.getType(), equalTo(type)); }