@Test
public void getCapturedNotifications() {

    MessageListTrap<TestNotification> trap = MessageListTrap.createAndSubscribe(TestNotification.class, false, TestSchedulerType.TEST_SCHEDULER_TYPE);
    NotificationRouter.get().broadcast(new TestNotification());
    NotificationRouter.get().broadcast(new TestNotification());
    NotificationRouter.get().broadcast(new TestNotification());
    Assertions.assertEquals(3, trap.getCapturedNotifications().size(), "Expected 3 Notifications");
}