expectState

open fun expectState(expected: S.() -> Unit): AE
open fun expectState(expected: Consumer<S>): AE