CategoryImpl implements Category { public void setName(String name) { this.name = name; } CategoryImpl(String name, String taxonomyUri); String getName(); String getTaxonomyUri(); void setName(String name); void setTaxonomyUri(String taxonomyUri);  }
@Test public void testSetName() { String name = "name"; instance.setName(name); assertEquals(instance.getName(),name); }