reflectionRealObjectMaker
fun reflectionRealObjectMaker(chooseConstructor: <Error class: unknown class><out <Error class: unknown class>>.() -> KFunction<*> = { token.asKClass().primaryConstructor() }): <Error class: unknown class>
Content copied to clipboard
Return an RealObjectMaker that uses reflection to create real objects which are supplied objects from com.episode6.mockspresso2.api.Dependencies to satisfy their constructor parameters.