Package 

Object MockableMavericksViewModelConfig.Companion

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.