It seems like a perfect fit for verifying dispatched commands not only
from sagas but also from simple event listeners. Something like...
public void testHandleEvent() {
listenerUnderTest.handle(new Event());
commandValidator.assertDispatchedEqualTo(
new Command()
);
}
Any particular reasons not making it public?
'Sebastian