MCPcopy
hub / github.com/passteque/gluetun / NewMockLogger

Function NewMockLogger

internal/httpserver/logger_mock_test.go:25–29  ·  view source on GitHub ↗

NewMockLogger creates a new mock instance.

(ctrl *gomock.Controller)

Source from the content-addressed store, hash-verified

23
24// NewMockLogger creates a new mock instance.
25func NewMockLogger(ctrl *gomock.Controller) *MockLogger {
26 mock := &MockLogger{ctrl: ctrl}
27 mock.recorder = &MockLoggerMockRecorder{mock}
28 return mock
29}
30
31// EXPECT returns an object that allows the caller to indicate expected use.
32func (m *MockLogger) EXPECT() *MockLoggerMockRecorder {

Callers 2

Test_Server_Run_successFunction · 0.70
Test_Server_Run_failureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected