TestDispatchScope

fun <State> TestDispatchScope(initialState: State, initialClosure: DispatchClosure = EmptyDispatchClosure, initialOnDispatch: MutableDispatchScope<State>.(Action) -> Unit = { }): TestDispatchScope<State>

Creates a TestDispatchScope with initialState, initialClosure and initialOnDispatch.