spykImplOf
inline fun <BIND, IMPL : BIND> <Error class: unknown class>.spykImplOf( qualifier: Annotation? = null, name: String? = null, vararg moreInterfaces: KClass<*>, recordPrivateCalls: Boolean = false, noinline block: IMPL.() -> Unit = {}): Lazy<IMPL>
Content copied to clipboard
Create a real object of type IMPL using mockspresso then wrap it in a spyk (the object will be bound using type BIND). This spy will be part of the mockspresso graph and can be used by other real objects (and then verified in test code).