### Question:
Role extends BaseEntity implements RoleEntry { @JsonIgnore @Override public String getId() { return getOid(); }  String getName(); void setName(String name); String getCode(); void setCode(String code); @JsonIgnore @Override String getId();  }### Answer:
@Test public void getId() throws Exception { entity.setOid("id"); assertEquals("id", entity.getId()); }