github.com/uber/kraken@v0.1.4/mocks/utils/dedup/intervaltask.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/uber/kraken/utils/dedup (interfaces: IntervalTask) 3 4 // Package mockdedup is a generated GoMock package. 5 package mockdedup 6 7 import ( 8 gomock "github.com/golang/mock/gomock" 9 reflect "reflect" 10 ) 11 12 // MockIntervalTask is a mock of IntervalTask interface 13 type MockIntervalTask struct { 14 ctrl *gomock.Controller 15 recorder *MockIntervalTaskMockRecorder 16 } 17 18 // MockIntervalTaskMockRecorder is the mock recorder for MockIntervalTask 19 type MockIntervalTaskMockRecorder struct { 20 mock *MockIntervalTask 21 } 22 23 // NewMockIntervalTask creates a new mock instance 24 func NewMockIntervalTask(ctrl *gomock.Controller) *MockIntervalTask { 25 mock := &MockIntervalTask{ctrl: ctrl} 26 mock.recorder = &MockIntervalTaskMockRecorder{mock} 27 return mock 28 } 29 30 // EXPECT returns an object that allows the caller to indicate expected use 31 func (m *MockIntervalTask) EXPECT() *MockIntervalTaskMockRecorder { 32 return m.recorder 33 } 34 35 // Run mocks base method 36 func (m *MockIntervalTask) Run() { 37 m.ctrl.T.Helper() 38 m.ctrl.Call(m, "Run") 39 } 40 41 // Run indicates an expected call of Run 42 func (mr *MockIntervalTaskMockRecorder) Run() *gomock.Call { 43 mr.mock.ctrl.T.Helper() 44 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Run", reflect.TypeOf((*MockIntervalTask)(nil).Run)) 45 }