makeFallbackObjectsWith
abstract fun makeFallbackObjectsWith(fallbackMaker: FallbackObjectMaker): MockspressoBuilder
Content copied to clipboard
Define how this MockspressoInstance will make fallback objects (i.e. dependencies that have not been explicitly registered/cached within this instance). Usually this should be supplied by one of the mocking support plugins (i.e. plugins-mockito or plugins-mockk).
By default, mockspresso ships with a no-op FallbackObjectMaker that throws exceptions when called.