-
public class MockableMavericksViewModelConfig.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static MockableMavericksViewModelConfig.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final <S extends MavericksState> MockableMavericksViewModelConfig<S>access(MavericksViewModel<S> viewModel)Allows access to the mock configuration of a ViewModel. -
-
Method Detail
-
access
final <S extends MavericksState> MockableMavericksViewModelConfig<S> access(MavericksViewModel<S> viewModel)
Allows access to the mock configuration of a ViewModel.
The config is not directly exposed to discourage use. It should only be carefully used in testing frameworks.
This assumes the viewmodel was created with a mock config applied, and fails otherwise.
-
-
-
-