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