PhenotypeTerm implements Comparable<PhenotypeTerm> { @JsonProperty public String getId() { return id; } private  PhenotypeTerm(String id, String label, Status status); @JsonProperty String getId(); @JsonProperty String getLabel(); @JsonIgnore boolean isPresent(); @JsonIgnore boolean notPresent(); @Override boolean equals(Object o); @Override int hashCode(); @Override int compareTo(PhenotypeTerm o); @Override String toString(); @JsonCreator static PhenotypeTerm of(String id, String label); static PhenotypeTerm notOf(String id, String label);  }
@Test public void testGetId() { assertThat(instance.getId(), equalTo(id)); }