### Question:
Expiring { public void expire () { expired = true; } Expiring(T object, Instant expiryTime);  Expiring(T object, long millis);  Expiring(T object, Duration objectDuration); T value(); @Override String toString(); void expire(); T computeIfAbsent(Callable<T> callable, long durationInMillis); T computeIfAbsent(Callable<T> callable, Duration objectDuration);  }### Answer:
@Test public void expire () { expiringObject = new Expiring<>(object, Duration.ofDays(1)); expiringObject.expire(); assertNull(expiringObject.value()); }