@Test
public void testCalculateDays() {

    Properties config = new Properties();
    String expectedDate = "2012-05-14 09:00";
    
    SessionPseudoClock clock = new StaticPseudoClock(parseToDate("2012-05-04").getTime());      
    BusinessCalendarImpl businessCal = new BusinessCalendarImpl(config, clock);
    
    Date result = businessCal.calculateBusinessTimeAsDate("6d");
    
    assertEquals(expectedDate, formatDate("yyyy-MM-dd HH:mm", result));
}