-
- All Implemented Interfaces:
-
com.airbnb.mvrx.MavericksStateStore,com.airbnb.mvrx.ScriptableStateStore
public final class ScriptableMavericksStateStore<S extends Object> implements ScriptableStateStore<S>
A MavericksStateStore which ignores standard calls to set. Instead it can be scripted via calls to next. This is intended to be used for tests only, and in particular UI tests where you wish to test how your UI code reacts to different ViewModel states. This is not as useful for unit testing your view model, as business logic in state reducers will not be used.
-
-
Constructor Summary
Constructors Constructor Description ScriptableMavericksStateStore(S initialState)
-
Method Summary
-
-
Constructor Detail
-
ScriptableMavericksStateStore
ScriptableMavericksStateStore(S initialState)
-
-
-
-