### Question:
User extends BaseEntity implements UserEntry { public Date getLastLogoutTime() { return lastLogoutTime; }  void setRoleName(String roleName); String getRoleName(); String getEmail(); void setEmail(String email); String getName(); void setName(String name); String getSurname(); void setSurname(String surname); String getPassword(); void setPassword(String password); String getRoleOid(); void setRoleOid(String roleOid); @JsonIgnore @Override String getRoleId(); boolean isActive(); void setActive(boolean active); @JsonIgnore @Override String getUserId(); @JsonIgnore @Override String getUsername(); Date getLastLoginTime(); void setLastLoginTime(Date lastLoginTime); Date getLastLogoutTime(); void setLastLogoutTime(Date lastLogoutTime); int getFailCount(); void setFailCount(int failCount); @Override String toString();  }### Answer:
@Test public void getLastLogoutTime() throws Exception { Date date = new Date(); entity.setLastLogoutTime(date); assertEquals(date, entity.getLastLogoutTime()); }