expectInternalState
Awaits for an internal state and checks if it matches the expected internal state change from the previous internal state.
Parameters
expectedChange
The expected change from the previous internal state.
Throws
if internal state does not match the expected change.
Awaits for an internal state and checks if it matches the expected internal state.
Parameters
expected
The expected internal state.
Throws
if internal state does not match the expected internal state.