@Test
void nextWithDayLightSavingEnd() {

    var trigger = new DailyTrigger(of(2, 0));
    // daylight saving ended at 2017/11/05
    assertThat(trigger.next(date("2017-11-05T00:00:00"))).isEqualTo(date("2017-11-05T02:00:00"));
    assertThat(trigger.next(date("2017-11-05T02:00:00"))).isEqualTo(date("2017-11-06T02:00:00"));
    assertThat(trigger.next(date("2017-11-05T02:30:00"))).isEqualTo(date("2017-11-06T02:00:00"));
}