fun <T, A : Async<T>> stateForLoadingAndFailure(state: S = defaultState, asyncPropertyBlock: S.() -> KProperty0<A>): Unit
Helper to mock the loading and failure state of an Async property on your state. Creates two different mocked states stemmed from the given state - one where the async property is set to Loading and one where it is set to Fail.