clearMocks

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.