// Code generated by MockGen. DO NOT EDIT. // Source: src/payload-processor/processor/db.go // // Generated by this command: // // mockgen -source src/payload-processor/processor/db.go -package processor -destination=src/payload-processor/processor/mock_db.go // // Package processor is a generated GoMock package. package processor import ( context "context" reflect "reflect" gomock "go.uber.org/mock/gomock" ) // MockDB is a mock of DB interface. type MockDB struct { ctrl *gomock.Controller recorder *MockDBMockRecorder } // MockDBMockRecorder is the mock recorder for MockDB. type MockDBMockRecorder struct { mock *MockDB } // NewMockDB creates a new mock instance. func NewMockDB(ctrl *gomock.Controller) *MockDB { mock := &MockDB{ctrl: ctrl} mock.recorder = &MockDBMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockDB) EXPECT() *MockDBMockRecorder { return m.recorder } // InsertFile mocks base method. func (m *MockDB) InsertFile(ctx context.Context, file File) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "InsertFile", ctx, file) ret0, _ := ret[0].(error) return ret0 } // InsertFile indicates an expected call of InsertFile. func (mr *MockDBMockRecorder) InsertFile(ctx, file any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertFile", reflect.TypeOf((*MockDB)(nil).InsertFile), ctx, file) }