clearMocks

fun clearMocks(    firstMock: Any,     vararg mocks: Any,     answers: Boolean = true,     recordedCalls: Boolean = true,     childMocks: Boolean = true,     verificationMarks: Boolean = true,     exclusionRules: Boolean = true): <Error class: unknown class>

Resets information associated with specified mocks. To clear all mocks use clearAllMocks.