### Question:
ActivePunishmentRecord extends PunishmentRecord { public boolean isExpired() { return LocalDateTime.now().compareTo(expiration) > 0; } ActivePunishmentRecord(String punisher, PlayerProfile target, String reason, LocalDateTime expiration, ActivePunishmentType activeType); @Override String toString(); boolean isExpired();  }### Answer:
@Test public void whenDateIsManyYearsAheadThenNotExpired() { LocalDateTime expiration = LocalDateTime.of(2100, Month.JANUARY, 5, 17, 50, 0); ActivePunishmentRecord activePunishmentRecord = new ActivePunishmentRecord( "punisher", mock(PlayerProfile.class), "reason", expiration, ActivePunishmentType.MUTE ); assertFalse(activePunishmentRecord.isExpired()); }