### Question:
ReportRequestState extends State { public void setDueDate(final Date dueDate) { this.dueDate = new Date(dueDate.getTime()); }  final Device getDevice(); void setDevice(final Device device); ReportRequestType getReportRequestType(); void setReportRequestType(final ReportRequestType reportRequestType); Date getDueDate(); void setDueDate(final Date dueDate); void setDueDate(final long delayThreshold); byte[] getNonce(); void setNonce(final byte[] nonce); @Override String toString();  }### Answer:
@Test public final void setDueDate() { ReportRequestState state = new ReportRequestState(); Date currentTime = new Date(); state.setDueDate(DeviceGroup.MINUTE_MS_INTERVAL); Date setDate = state.getDueDate(); Assert.assertTrue(currentTime.before(setDate)); }