@Test
void whenEventExecuted_thenCorrectSchedulerTypeSet() {

    List<EventSchedulerType> observedTypes = new ArrayList<>();
    threadOneScheduler.doAt(50, () -> observedTypes.add(tracker.getActiveSchedulerType()), "");
    threadTwoScheduler.doAt(100, () -> observedTypes.add(tracker.getActiveSchedulerType()), "");
    threadOneScheduler.doAt(150, () -> observedTypes.add(tracker.getActiveSchedulerType()), "");
    backingScheduler.unPause();
    List<TestSchedulerType> expectedTypes = new ArrayList<>();
    expectedTypes.add(TestSchedulerType.T1);
    expectedTypes.add(TestSchedulerType.T2);
    expectedTypes.add(TestSchedulerType.T1);
    Assertions.assertEquals(expectedTypes, observedTypes);
}