expectSideEffect
Awaits for a side effect and checks if it matches the expected side effect
Parameters
expected
The expected side effect
Throws
if state does not match the expected change.
Awaits for a side effect and checks if it matches the expected side effect
The expected side effect
if state does not match the expected change.