how are you testing the @EntityListeners in Axon?
Within spring it should be something like in @Before create some data with commands. And then in methods test event processing.
But this could be problem while testing view builders, because they are asynchronous so views shouldn’t contain the expected data. Is the good option to poll for view?