CallDefinitionScope

Properties

Link copied to clipboard
abstract val returnType: KClass<*>

Mocked method return type KClass.

Link copied to clipboard
abstract val self: Any?

It serves as a this and returns mock object.

Functions

Link copied to clipboard
inline fun <T> CallDefinitionScope<*>.self(): T