type HasLogging … // LogDebug provides a mock function with given fields: message func (_m *HasLogging) LogDebug(message string) { … } // LogError provides a mock function with given fields: message, err func (_m *HasLogging) LogError(message string, err error) { … } // LogInfo provides a mock function with given fields: message func (_m *HasLogging) LogInfo(message string) { … } // NewHasLogging creates a new instance of HasLogging. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewHasLogging(t interface { … }