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