MCPcopy
hub / github.com/vektra/mockery / ResetCalls

Method ResetCalls

internal/fixtures/mocks_matryer_test_test.go:92–96  ·  view source on GitHub ↗

ResetCalls reset all the calls that were made to all mocked methods.

()

Source from the content-addressed store, hash-verified

90
91// ResetCalls reset all the calls that were made to all mocked methods.
92func (mock *MoqUsesAny) ResetCalls() {
93 mock.lockGetReader.Lock()
94 mock.calls.GetReader = nil
95 mock.lockGetReader.Unlock()
96}
97
98// Ensure that MoqFooer does implement Fooer.
99// If this is not the case, regenerate this file with mockery.

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected