@Test
public void testCalculateMinutesPassingWeekend() {

    Properties config = new Properties();
    String currentDate = "2018-05-06 13:51:33";
    String duration = "10m";
    String expectedDate = "2018-05-07 09:10:00";
    SessionPseudoClock clock = new StaticPseudoClock(parseToDateWithTime(currentDate).getTime());
    BusinessCalendarImpl businessCal = new BusinessCalendarImpl(config, clock);
    Date result = businessCal.calculateBusinessTimeAsDate(duration);
    assertEquals(expectedDate, formatDate("yyyy-MM-dd HH:mm:ss", result));
}