### Question:
UserDTO extends User { public String getNewPassword() { return newPassword; } 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 getNewPassword() throws Exception { dto.setNewPassword("123"); assertEquals("123", dto.getNewPassword()); }