expectSideEffect

open suspend override fun expectSideEffect(expected: SIDE_EFFECT)

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.