AvailabilityTimeLine timeLine = AvailabilityTimeLine.allValid();
LocalDate intervalStart = contemporaryExample.minusDays(10);
LocalDate intervalEnd = contemporaryExample.plusDays(5);
timeLine.invalidAt(intervalStart, intervalEnd);
timeLine.invalidAt(intervalStart.minusDays(3), intervalEnd.plusDays(4));
assertFalse(timeLine.isValid(intervalStart.minusDays(3)));
assertFalse(timeLine.isValid(intervalEnd));
assertFalse(timeLine.isValid(intervalEnd.plusDays(3)));
assertTrue(timeLine.isValid(intervalEnd.plusDays(4)));