fun Builder.automaticFactories(vararg classes: Class<*>): Builder
Applies special object handling for the provided factory classes. The applicable objects will be mocked by mockito, but with a default answer that returns objects from mockspresso's dependency map (similar to how the javax() injector automatically binds Providers, but applied to any factory class, including generics). fun Builder.automaticFactories(vararg classes: KClass<*>): Builder
Convenience function to call automaticFactories using kotlin KClasses instead of java Classes |
|
fun Builder.mockByMockito(): Builder
Applies the com.episode6.hackit.mockspresso.api.MockerConfig to support mockito |