Companion

object Companion

Properties

Link copied to clipboard

Results in an original method call from mocked type with args passed to mock (FunctionScope.args). If interface is mocked, default implementation is called.

Functions

Link copied to clipboard
fun originalWith(vararg args: Any?): SuperCall

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

Link copied to clipboard
inline fun <T> superOf(): SuperCall

Results in a super method call from type T with args passed to mock (FunctionScope.args). If interface is mocked, default implementation is called.

Link copied to clipboard
inline fun <T> superWith(vararg args: Any?): SuperCall

Results in a super method call from type T with given args. If interface is mocked, default implementation is called.