}
void tick(long beginMinute, long endMinute, long consumeSeconds) {
final TimeLapse tl = time(minute(beginMinute), minute(endMinute));
if (consumeSeconds > 0) {
tl.consume(consumeSeconds * 1000);
}
pm.tick(tl);
d.tick(tl);
assertSame(tl, d.getCurrentTime());
assertFalse(tl.hasTimeLeft());