What's the recommended Axon 3 way to express "I expect an event of class X but I don't care about its exact contents" in a command handler test? In Axon 2, I used the expectEventsMatching() method on the test fixture with the Matchers.payloadsMatching() helper, like so:
In Axon 3, this fails to compile because expectEventsMatching() wants a Matcher<List<? extends EventMessage>> but Matchers.payloadsMatching() returns Matcher<List<? extends Message>>.
Not a huge deal to write my own Matchers.payloadsMatching() equivalent that takes the correct types, but if there's another way I should be going about this now, I'd like to know.