@Test
public void testCalculateMinutesPassingAfterHour() {

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