### Question:
CalendarLogic { public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; }  void setEvent(CalendarEvent calendarEvent); List<CalendarEvent> getEvents(int number); List<CalendarEvent> getEventsAt(LocalDateTime chosenDay); DateTime getDateTime(LocalDateTime ldt, int plusDays); static boolean isAllDay(Event event); LocalDateTime getLocalDateTimeStart(Event event); LocalDateTime getLocalDateTimeEnd(Event event);  }### Answer:
@Test void testIsAllDay() { assertThat(CalendarLogic.isAllDay(this.event1), is(true)); assertThat(CalendarLogic.isAllDay(this.event2), is(false)); }