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