EntityTagResourceDefinition extends BaseResourceDefinition { @Override public String getIdPropertyName() { return "name"; } EntityTagResourceDefinition(); @Override String getIdPropertyName(); @Override String getTypeName(); @Override String resolveHref(Map<String, Object> properties); static final String ENTITY_GUID_PROPERTY; }
@Test public void testGetIdPropertyName() { ResourceDefinition entityTagDefinition = new EntityTagResourceDefinition(); assertEquals(entityTagDefinition.getIdPropertyName(), "name"); }