SuperCall

sealed interface SuperCall

Describes a super call that should be performed as an answer for a mocked method call.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class OfType(val type: KClass<*>, val args: List<Any?>? = null) : SuperCall

Call for a super method from type with given args. If interface is mocked, default implementation is called.

Link copied to clipboard
class Original(val args: List<Any?>? = null) : SuperCall

Call for an original method of mocked type. If interface is mocked, default implementation is called.