|
@@ -1,45 +0,0 @@
|
|
|
-// Code generated by MockGen. DO NOT EDIT.
|
|
|
-// Source: listener.go
|
|
|
-
|
|
|
-// Package internal is a generated GoMock package.
|
|
|
-package internal
|
|
|
-
|
|
|
-import (
|
|
|
- gomock "github.com/golang/mock/gomock"
|
|
|
- reflect "reflect"
|
|
|
-)
|
|
|
-
|
|
|
-// MockListener is a mock of Listener interface
|
|
|
-type MockListener struct {
|
|
|
- ctrl *gomock.Controller
|
|
|
- recorder *MockListenerMockRecorder
|
|
|
-}
|
|
|
-
|
|
|
-// MockListenerMockRecorder is the mock recorder for MockListener
|
|
|
-type MockListenerMockRecorder struct {
|
|
|
- mock *MockListener
|
|
|
-}
|
|
|
-
|
|
|
-// NewMockListener creates a new mock instance
|
|
|
-func NewMockListener(ctrl *gomock.Controller) *MockListener {
|
|
|
- mock := &MockListener{ctrl: ctrl}
|
|
|
- mock.recorder = &MockListenerMockRecorder{mock}
|
|
|
- return mock
|
|
|
-}
|
|
|
-
|
|
|
-// EXPECT returns an object that allows the caller to indicate expected use
|
|
|
-func (m *MockListener) EXPECT() *MockListenerMockRecorder {
|
|
|
- return m.recorder
|
|
|
-}
|
|
|
-
|
|
|
-// OnUpdate mocks base method
|
|
|
-func (m *MockListener) OnUpdate(keys, values []string, newKey string) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- m.ctrl.Call(m, "OnUpdate", keys, values, newKey)
|
|
|
-}
|
|
|
-
|
|
|
-// OnUpdate indicates an expected call of OnUpdate
|
|
|
-func (mr *MockListenerMockRecorder) OnUpdate(keys, values, newKey interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnUpdate", reflect.TypeOf((*MockListener)(nil).OnUpdate), keys, values, newKey)
|
|
|
-}
|