CallRecorder

interface CallRecorder

Builds a list of calls

Functions

Link copied to clipboard
abstract fun answerOpportunity(): MockKGateway.AnswerOpportunity<*>
Link copied to clipboard
abstract fun call(invocation: Invocation): Any?
Link copied to clipboard
abstract fun discardLastCallRound()
Link copied to clipboard
abstract fun done()
Link copied to clipboard
abstract fun estimateCallRounds(): Int
Link copied to clipboard
abstract fun hintNextReturnType(cls: KClass<*>, n: Int)
Link copied to clipboard
abstract fun isLastCallReturnsNothing(): Boolean
Link copied to clipboard
abstract fun <T : Any> matcher(matcher: Matcher<*>, cls: KClass<T>): T
Link copied to clipboard
abstract fun nCalls(): Int
Link copied to clipboard
abstract fun reset()
Link copied to clipboard
abstract fun round(n: Int, total: Int = 64)
Link copied to clipboard
abstract fun startExclusion(params: MockKGateway.ExclusionParameters)
Link copied to clipboard
abstract fun startStubbing()
Link copied to clipboard
abstract fun startVerification(params: MockKGateway.VerificationParameters)
Link copied to clipboard
abstract fun wasNotCalled(list: List<Any>)

Properties

Link copied to clipboard
abstract val calls: List<RecordedCall>