toggle menu
mockk-dsl
1.13.10
common
switch theme
search in API
mockk-dsl
/
io.mockk
/
MockKGateway
/
CallRecorder
Call
Recorder
interface
CallRecorder
Builds a list of calls
Members
Properties
calls
Link copied to clipboard
abstract
val
calls
:
List
<
RecordedCall
>
Functions
answer
Opportunity
Link copied to clipboard
abstract
fun
answerOpportunity
(
)
:
MockKGateway.AnswerOpportunity
<
*
>
call
Link copied to clipboard
abstract
fun
call
(
invocation
:
Invocation
)
:
Any
?
discard
Last
Call
Round
Link copied to clipboard
abstract
fun
discardLastCallRound
(
)
done
Link copied to clipboard
abstract
fun
done
(
)
estimate
Call
Rounds
Link copied to clipboard
abstract
fun
estimateCallRounds
(
)
:
Int
hint
Next
Return
Type
Link copied to clipboard
abstract
fun
hintNextReturnType
(
cls
:
KClass
<
*
>
,
n
:
Int
)
is
Last
Call
Returns
Nothing
Link copied to clipboard
abstract
fun
isLastCallReturnsNothing
(
)
:
Boolean
matcher
Link copied to clipboard
abstract
fun
<
T
:
Any
>
matcher
(
matcher
:
Matcher
<
*
>
,
cls
:
KClass
<
T
>
)
:
T
n
Calls
Link copied to clipboard
abstract
fun
nCalls
(
)
:
Int
reset
Link copied to clipboard
abstract
fun
reset
(
)
round
Link copied to clipboard
abstract
fun
round
(
n
:
Int
,
total
:
Int
=
64
)
start
Exclusion
Link copied to clipboard
abstract
fun
startExclusion
(
params
:
MockKGateway.ExclusionParameters
)
start
Stubbing
Link copied to clipboard
abstract
fun
startStubbing
(
)
start
Verification
Link copied to clipboard
abstract
fun
startVerification
(
params
:
MockKGateway.VerificationParameters
)
was
Not
Called
Link copied to clipboard
abstract
fun
wasNotCalled
(
list
:
List
<
Any
>
)