### Question:
TokenExpirationInfoBO { public Duration getTokenExpirationDuration() { return Duration.between(issuedAt, expiration); } TokenExpirationInfoBO();  TokenExpirationInfoBO(long issuedAt, long expiration); Duration getTokenExpirationDuration(); Duration getTokenLifetimeDuration(); boolean isDurationPassed(Duration duration); boolean isDurationPassed(Duration duration, Instant comparing); boolean isExpired(); boolean isPartLifetimePassed(double part); Instant getIssuedAt(); void setIssuedAt(Instant issuedAt); Instant getExpiration(); void setExpiration(Instant expiration); @Override String toString();  }### Answer:
@Test void getTokenExpirationDuration() { TokenExpirationInfoBO token = new TokenExpirationInfoBO(1555799115, 1555799415); Duration actualDuration = token.getTokenExpirationDuration(); assertThat(actualDuration, is(Duration.parse("PT5M"))); }