### Question:
UserDTO extends User { public String getTicket() { return ticket; } UserDTO();  UserDTO(User entity); String getNewPassword(); void setNewPassword(String newPassword); String getTicket(); void setTicket(String ticket); String getUsername(); void setUsername(String username);  }### Answer:
@Test public void getTicket() throws Exception { dto.setTicket("ticket"); assertEquals("ticket", dto.getTicket()); }