def METHOD_NAME(test_input, future_t, expected):
    start, stop, interval = test_input
    entry = ScheduleEntry(
        name="t", start=start, stop=stop, interval=interval, action="logger"
    )
    initial_times = list(entry.get_remaining_times())
    r = []
    for t in count(future_t, future_t):
        ts = list(entry.take_until(t))
        if not ts:
            break
        r.append(ts)
    assert r == expected
    assert initial_times == list(flatten(r))