PhenoGridMatchTaxon { public String getId() { return id; } PhenoGridMatchTaxon(String id, String label); String getId(); String getLabel(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetId() { assertThat(instance.getId(), equalTo(id)); }