@Test
public void testCalculateMinutesPassingOverHoliday() {

    Properties config = new Properties();
    config.setProperty(BusinessCalendarImpl.HOLIDAYS, "2012-05-12:2012-05-19");
    String expectedDate = "2012-05-21 09:15";
    
    SessionPseudoClock clock = new StaticPseudoClock(parseToDateWithTime("2012-05-11 16:45").getTime());
    BusinessCalendarImpl businessCal = new BusinessCalendarImpl(config, clock);
    
    Date result = businessCal.calculateBusinessTimeAsDate("30m");
    
    assertEquals(expectedDate, formatDate("yyyy-MM-dd HH:mm", result));
}