fun <V : MockableMavericksView, Args : Parcelable> V.mockNoViewModels(defaultArgs: Args?, mockBuilder: MockBuilder<V, Args>.() -> Unit = {}): MockBuilder<V, Args>
Used with MockableMavericksView.provideMocks for mocking a Mavericks view that has no view models (eg only static content and arguments).
defaultArgs - If your view takes arguments you must provide an instance of those arguments here to be used as the default value for your mocks.
If your view has no arguments, pass null (and use Nothing as the type).
For example, if you use Fragments this would be the arguments that you initialize the Fragment with.
If you use the Mavericks.KEY_ARG key to pass a single Parcelable class to your Fragment you can pass that class here,
and it will automatically be wrapped in a Bundle with the Mavericks.KEY_ARG key. Otherwise you can pass a Bundle and
it will be passed along as-is to your Fragment when it is created.
mockBuilder - Optionally provide other argument variations via the MockBuilder DSL
See Also