mvrx-mocking / com.airbnb.mvrx.mocking / FiveStatesBuilder / viewModel5

viewModel5

fun viewModel5(stateBuilder: S5.() -> S5): Unit

Define a state to be used when mocking your fifth view model (as defined in the top level mock method). If this method isn't called, your default state will be used automatically. For convenience, the receiver of the lambda is the default state.