@Test
public void next_simpleMode() {

    // :: Setup
    long now = 10_000;
    int period = 1_000;
    long last = now - 1_000;
    int grace = 5;
    // :: Act
    long next = Anticipate.next(now, last, period, grace);
    // :: Verify
    assertThat(next).isEqualTo(now + 5);
}