MockLogger is a mock implementation of the Logger interface using testify/mock. This mock provides full expectation setting and verification capabilities for testing code that depends on the Logger interface. All methods support flexible argument matching and call verification. Example usage: mo
| 94 | // // Verify all expectations were met |
| 95 | // mockLogger.AssertExpectations(t) |
| 96 | type MockLogger struct { |
| 97 | mock.Mock |
| 98 | } |
| 99 | |
| 100 | func (m *MockLogger) Debug(format string, args ...interface{}) { |
| 101 | m.Called(format, args) |
nothing calls this directly
no outgoing calls
no test coverage detected