expectEventCount
Defines expectations for the number of domain events produced.
This method verifies that the aggregate produced exactly the expected number of domain events during command processing.
Return
this ExpectDsl instance for method chaining
Parameters
expected
the expected number of events