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