CommonCallRecorder

class CommonCallRecorder(val stubRepo: StubRepository, val instantiator: AbstractInstantiator, val signatureValueGenerator: SignatureValueGenerator, val mockFactory: MockKGateway.MockFactory, val anyValueGenerator: () -> AnyValueGenerator, val safeToString: SafeToString, val factories: CallRecorderFactories, val initialState: (CommonCallRecorder) -> CallRecordingState, val ack: MockKGateway.VerificationAcknowledger) : MockKGateway.CallRecorder(source)

Constructors

Link copied to clipboard
constructor(stubRepo: StubRepository, instantiator: AbstractInstantiator, signatureValueGenerator: SignatureValueGenerator, mockFactory: MockKGateway.MockFactory, anyValueGenerator: () -> AnyValueGenerator, safeToString: SafeToString, factories: CallRecorderFactories, initialState: (CommonCallRecorder) -> CallRecordingState, ack: MockKGateway.VerificationAcknowledger)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val calls: MutableList<RecordedCall>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun call(invocation: Invocation): Any?
Link copied to clipboard
open override fun discardLastCallRound()
Link copied to clipboard
open override fun done()
Link copied to clipboard
open override fun estimateCallRounds(): Int
Link copied to clipboard
open override fun hintNextReturnType(cls: KClass<*>, n: Int)
Link copied to clipboard
open override fun isLastCallReturnsNothing(): Boolean
Link copied to clipboard
open override fun <T : Any> matcher(matcher: Matcher<*>, cls: KClass<T>): T
Link copied to clipboard
open override fun nCalls(): Int
Link copied to clipboard
open override fun reset()
Link copied to clipboard
open override fun round(n: Int, total: Int)
Link copied to clipboard
fun <T> safeExec(block: () -> T): T
Link copied to clipboard
Link copied to clipboard
open override fun startStubbing()
Link copied to clipboard
Link copied to clipboard
open override fun wasNotCalled(list: List<Any>)