-
- All Implemented Interfaces:
-
org.junit.rules.TestRule
@Deprecated(message = Use MavericksTestRule instead., replaceWith = @ReplaceWith(imports = {com.airbnb.mvrx.test.MavericksTestRule}, expression = MavericksTestRule(setForceDisableLifecycleAwareObserver, viewModelMockBehavior, debugMode, testDispatcher))) public final class MvRxTestRule extends ExternalResource
To use this in your test class, add:
@get:Rule val mvrxRule = MvRxTestRule()
-
-
Constructor Summary
Constructors Constructor Description MvRxTestRule(Boolean setForceDisableLifecycleAwareObserver, MockBehavior viewModelMockBehavior, Boolean debugMode, CoroutineDispatcher testDispatcher)
-