// Code generated by MockGen. DO NOT EDIT. // Source: github.com/mattermost/mattermost-octo-tasks/server/services/store (interfaces: Store) // Package mockstore is a generated GoMock package. package mockstore import ( reflect "reflect" gomock "github.com/golang/mock/gomock" model "github.com/mattermost/mattermost-octo-tasks/server/model" ) // MockStore is a mock of Store interface type MockStore struct { ctrl *gomock.Controller recorder *MockStoreMockRecorder } // MockStoreMockRecorder is the mock recorder for MockStore type MockStoreMockRecorder struct { mock *MockStore } // NewMockStore creates a new mock instance func NewMockStore(ctrl *gomock.Controller) *MockStore { mock := &MockStore{ctrl: ctrl} mock.recorder = &MockStoreMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockStore) EXPECT() *MockStoreMockRecorder { return m.recorder } // DeleteBlock mocks base method func (m *MockStore) DeleteBlock(arg0 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteBlock", arg0) ret0, _ := ret[0].(error) return ret0 } // DeleteBlock indicates an expected call of DeleteBlock func (mr *MockStoreMockRecorder) DeleteBlock(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBlock", reflect.TypeOf((*MockStore)(nil).DeleteBlock), arg0) } // GetAllBlocks mocks base method func (m *MockStore) GetAllBlocks() ([]model.Block, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAllBlocks") ret0, _ := ret[0].([]model.Block) ret1, _ := ret[1].(error) return ret0, ret1 } // GetAllBlocks indicates an expected call of GetAllBlocks func (mr *MockStoreMockRecorder) GetAllBlocks() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBlocks", reflect.TypeOf((*MockStore)(nil).GetAllBlocks)) } // GetBlocksWithParent mocks base method func (m *MockStore) GetBlocksWithParent(arg0 string) ([]model.Block, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetBlocksWithParent", arg0) ret0, _ := ret[0].([]model.Block) ret1, _ := ret[1].(error) return ret0, ret1 } // GetBlocksWithParent indicates an expected call of GetBlocksWithParent func (mr *MockStoreMockRecorder) GetBlocksWithParent(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithParent", reflect.TypeOf((*MockStore)(nil).GetBlocksWithParent), arg0) } // GetBlocksWithParentAndType mocks base method func (m *MockStore) GetBlocksWithParentAndType(arg0, arg1 string) ([]model.Block, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetBlocksWithParentAndType", arg0, arg1) ret0, _ := ret[0].([]model.Block) ret1, _ := ret[1].(error) return ret0, ret1 } // GetBlocksWithParentAndType indicates an expected call of GetBlocksWithParentAndType func (mr *MockStoreMockRecorder) GetBlocksWithParentAndType(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithParentAndType", reflect.TypeOf((*MockStore)(nil).GetBlocksWithParentAndType), arg0, arg1) } // GetBlocksWithType mocks base method func (m *MockStore) GetBlocksWithType(arg0 string) ([]model.Block, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetBlocksWithType", arg0) ret0, _ := ret[0].([]model.Block) ret1, _ := ret[1].(error) return ret0, ret1 } // GetBlocksWithType indicates an expected call of GetBlocksWithType func (mr *MockStoreMockRecorder) GetBlocksWithType(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlocksWithType", reflect.TypeOf((*MockStore)(nil).GetBlocksWithType), arg0) } // GetParentID mocks base method func (m *MockStore) GetParentID(arg0 string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetParentID", arg0) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetParentID indicates an expected call of GetParentID func (mr *MockStoreMockRecorder) GetParentID(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetParentID", reflect.TypeOf((*MockStore)(nil).GetParentID), arg0) } // GetSubTree mocks base method func (m *MockStore) GetSubTree(arg0 string) ([]model.Block, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSubTree", arg0) ret0, _ := ret[0].([]model.Block) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSubTree indicates an expected call of GetSubTree func (mr *MockStoreMockRecorder) GetSubTree(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubTree", reflect.TypeOf((*MockStore)(nil).GetSubTree), arg0) } // GetSystemSettings mocks base method func (m *MockStore) GetSystemSettings() (map[string]string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSystemSettings") ret0, _ := ret[0].(map[string]string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSystemSettings indicates an expected call of GetSystemSettings func (mr *MockStoreMockRecorder) GetSystemSettings() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemSettings", reflect.TypeOf((*MockStore)(nil).GetSystemSettings)) } // InsertBlock mocks base method func (m *MockStore) InsertBlock(arg0 model.Block) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "InsertBlock", arg0) ret0, _ := ret[0].(error) return ret0 } // InsertBlock indicates an expected call of InsertBlock func (mr *MockStoreMockRecorder) InsertBlock(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertBlock", reflect.TypeOf((*MockStore)(nil).InsertBlock), arg0) } // SetSystemSetting mocks base method func (m *MockStore) SetSystemSetting(arg0, arg1 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetSystemSetting", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SetSystemSetting indicates an expected call of SetSystemSetting func (mr *MockStoreMockRecorder) SetSystemSetting(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSystemSetting", reflect.TypeOf((*MockStore)(nil).SetSystemSetting), arg0, arg1) } // Shutdown mocks base method func (m *MockStore) Shutdown() error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Shutdown") ret0, _ := ret[0].(error) return ret0 } // Shutdown indicates an expected call of Shutdown func (mr *MockStoreMockRecorder) Shutdown() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockStore)(nil).Shutdown)) }