@Test
public void shouldReturnHolidaysFromSeveralYearsConsideringHiring() {

	List<Holiday> holidays = this.getListOfCompensationDays(3);
	Holiday newYear2018 = new Holiday();
	newYear2018.setId(4);
	newYear2018.setCompensation(false);
	newYear2018.setDate(new GregorianCalendar(2018, Calendar.JANUARY, 1).getTime());
	List<Holiday> january2018 = Arrays.asList(newYear2018);
	doReturn(january2018).when(holidayManager).getAllEntities(any(), any());
	Date hiringDate = new GregorianCalendar(2019, Calendar.JANUARY, 3).getTime();
	Calendar calMin = new GregorianCalendar(2018, Calendar.DECEMBER, 1);
	Calendar calMax = new GregorianCalendar(2019, Calendar.FEBRUARY, 1);
	
	List<Holiday> result = sut.calculateCorrespondingHolidays(calMin, calMax, holidays, hiringDate);
	
	assertThat(result.size(), is(1));	
}