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