TestStore

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

Creates a TestStore with initialState, initialClosure and strict. If strict is true, every TestStore.test must verify every dispatched action.