@Test
void whenEventCancelled_thenEventNotExecuted() {

    List<Boolean> executed = new ArrayList<>();
    executed.add(false);
    Cancelable cancelable = threadOneScheduler.doAt(50, () -> executed.set(0, true), "");
    threadOneScheduler.doAt(25d, cancelable::cancel, "");
    backingScheduler.unPause();
    Assertions.assertFalse(executed.get(0), "event executed after cancellation");
}