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
/
clearMocks
clear
Mocks
common
fun
clearMocks
(
firstMock
:
Any
,
vararg
mocks
:
Any
,
answers
:
Boolean
=
true
,
recordedCalls
:
Boolean
=
true
,
childMocks
:
Boolean
=
true
,
verificationMarks
:
Boolean
=
true
,
exclusionRules
:
Boolean
=
true
)
(
source
)
Resets information associated with specified mocks. To clear all mocks use clearAllMocks.