@Test
public void testIsOverPaymentLimitTour04() {

    // normal case
    TourInfo tour = new TourInfo();
    DateTime depDay = now.withTime(0, 0, 0, 0).plusDays(7); // within limit
    tour.setDepDay(depDay.toDate());
    // check whether hh:mm:ss.SSS is ignored
    when(dateFactory.newDateTime()).thenReturn(now.withTime(0, 0, 0, 0)
            .plusHours(23).plusMinutes(59).plusSeconds(59).plusMillis(999));
    boolean result = tourInfoSharedService.isOverPaymentLimit(tour);
    assertThat(result, is(false));
}