mockitoAutoFactoryAnswer
fun Dependencies.mockitoAutoFactoryAnswer(factoryKey: DependencyKey<*>): Answer<Any>
Content copied to clipboard
Returns a mockito default Answer for use in a mock of the given factoryKey. The answer will resolve the return type of the called method at runtime and return a dependency from the mockspresso graph.