Dry-events : can I listen to all events?


#1

Is it possible to subscribe/listen to all of the events published to a Publisher without manually specifying the event names?

I am trying to test that my domain objects are publishing the correct events with the correct data. This would be easy if I could create a special TestListener that stored a history of all events published. I could then run my test assertions afterwards that would check that the right events were sent.

Thanks