MockK API
Toggle table of contents
1.14.8-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
MockK API
mockk
/
io.mockk.impl.recording.states
/
SafeLoggingState
Safe
Logging
State
common
class
SafeLoggingState
(
recorder
:
CommonCallRecorder
)
:
CallRecordingState
(
source
)
Members
Constructors
Safe
Logging
State
Link copied to clipboard
common
constructor
(
recorder
:
CommonCallRecorder
)
Properties
recorder
Link copied to clipboard
common
val
recorder
:
CommonCallRecorder
Functions
answer
Opportunity
Link copied to clipboard
common
open
fun
answerOpportunity
(
)
:
MockKGateway.AnswerOpportunity
<
*
>
call
Link copied to clipboard
common
open
override
fun
call
(
invocation
:
Invocation
)
:
Any
?
discard
Last
Call
Round
Link copied to clipboard
common
open
fun
discardLastCallRound
(
)
estimate
Call
Rounds
Link copied to clipboard
common
open
fun
estimateCallRounds
(
)
:
Int
is
Last
Call
Returns
Nothing
Link copied to clipboard
common
open
fun
isLastCallReturnsNothing
(
)
:
Boolean
matcher
Link copied to clipboard
common
open
fun
<
T
:
Any
>
matcher
(
matcher
:
Matcher
<
*
>
,
cls
:
KClass
<
T
>
)
:
T
n
Calls
Link copied to clipboard
common
open
fun
nCalls
(
)
:
Int
recording
Done
Link copied to clipboard
common
open
fun
recordingDone
(
)
:
CallRecordingState
round
Link copied to clipboard
common
open
fun
round
(
round
:
Int
,
total
:
Int
)
start
Stubbing
Link copied to clipboard
common
open
fun
startStubbing
(
)
:
CallRecordingState
start
Verification
Link copied to clipboard
common
open
fun
startVerification
(
params
:
MockKGateway.VerificationParameters
)
:
CallRecordingState
was
Not
Called
Link copied to clipboard
common
open
fun
wasNotCalled
(
list
:
List
<
Any
>
)