PolishHolidays implements Holidays { public boolean isHoliday(LocalDate date) { return isWeekend(date) || isFixedHoliday(date) || isEasterMonday(date) || isCorpusChristi(date); }  boolean isHoliday(LocalDate date); @Override boolean isWorkingDay(LocalDate date); @Override LocalDate nextHolidayAfter(LocalDate date); @Override LocalDate nextWorkingDayAfter(LocalDate date);  }
@Test public void shouldIdentifyMovingHolidays() { assertThat(holidays.isHoliday(LocalDate.of(2014, APRIL, 21))).isTrue(); assertThat(holidays.isHoliday(LocalDate.of(2014, JUNE, 19))).isTrue(); }