Asserts that this provider has exactly an expected amount of messages.
The expected message count.
See Implementation
Asserts that this provider has exactly an expected amount of messages.