### Question:
TimeLimitedBase { public Date getExpiredDate() { return new Date(getExpireInstant().toEpochMilli()); } TimeLimitedBase(boolean renewable, long leaseDurationSecs);  TimeLimitedBase(TimeLimitedBase other); boolean isExpired(); boolean shouldExtend(Duration gracePeriod); Instant getExpireInstant(); Date getExpiredDate(); boolean expiresSoon(Duration gracePeriod); String info(); void leaseDurationSanityCheck(String nickname, Duration gracePeriod); public boolean renewable; public long leaseDurationSecs; }### Answer:
@Test public void getExpiredDate() { assertEquals("1970-01-01T00:01:20Z", newTimeLimitedBase(true, 80, EPOCH, EPOCH.plusSeconds(60)).getExpireInstant().toString()); }