fun viewModel2(stateBuilder: S2.() -> S2): Unit
Define a state to be used when mocking your second 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.