thenReturn(0L).thenReturn(2L);
BspEvent event = new PredicateLock(getStubProgressable(), 1, mockTime);
event.signal();
boolean gotPredicate = event.waitMsecs(2);
assertTrue(gotPredicate);
event.reset();
when(mockTime.getMilliseconds()).
thenReturn(0L).thenReturn(2L);
gotPredicate = event.waitMsecs(0);
assertFalse(gotPredicate);
}