TaxonomyResourceDefinition extends BaseResourceDefinition { @Override public String getTypeName() { return "Taxonomy"; } TaxonomyResourceDefinition(); @Override void validateCreatePayload(Request request); @Override String getTypeName(); @Override String getIdPropertyName(); @Override String resolveHref(Map<String, Object> properties);  }
@Test public void testGetTypeName() { ResourceDefinition taxonomyDefinition = new TaxonomyResourceDefinition(); assertEquals(taxonomyDefinition.getTypeName(), "Taxonomy"); }