Suppose I have a saga that does the following:
- Schedule event A at time X
- Schedule event B at time Y
- In an event handler, cancel event B
How can I write a test that verifies event B was really cancelled? There are test fixture methods expectScheduledEvent() and expectNoScheduledEvents() but I don’t see a good way to test for the absence of a specific scheduled event while still allowing others.
-Steve