MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / MockLogger

Struct MockLogger

pkg/api/testutils/mocks.go:96–98  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

94// // Verify all expectations were met
95// mockLogger.AssertExpectations(t)
96type MockLogger struct {
97 mock.Mock
98}
99
100func (m *MockLogger) Debug(format string, args ...interface{}) {
101 m.Called(format, args)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected