@Test
public void next_realWorld1() {

    // :: Setup
    // 2019-06-38 11:18:49
    long now = 1_561_893_529_622L;
    // 2019-06-30 11:13:29
    long last = 1_561_893_209_000L;
    // 5 minutes
    long period = 300_000L;
    // 10 seconds
    long grace = 10_000;
    // :: Act
    long next = Anticipate.next(now, last, period, grace);
    // :: Verify
    // 2019-06-30 11:18:59 (now + grace)
    assertThat(next).isEqualTo(1_561_893_799_000L);
}