// Code generated by MockGen. DO NOT EDIT. // Source: kpt-pasture/module/backend (interfaces: GoodsService) // Package kptservicemock is a generated GoMock package. package kptservicemock import ( context "context" reflect "reflect" cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow" gomock "github.com/golang/mock/gomock" ) // MockGoodsService is a mock of GoodsService interface. type MockGoodsService struct { ctrl *gomock.Controller recorder *MockGoodsServiceMockRecorder } // MockGoodsServiceMockRecorder is the mock recorder for MockGoodsService. type MockGoodsServiceMockRecorder struct { mock *MockGoodsService } // NewMockGoodsService creates a new mock instance. func NewMockGoodsService(ctrl *gomock.Controller) *MockGoodsService { mock := &MockGoodsService{ctrl: ctrl} mock.recorder = &MockGoodsServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockGoodsService) EXPECT() *MockGoodsServiceMockRecorder { return m.recorder } // DrugsCreateOrUpdate mocks base method. func (m *MockGoodsService) DrugsCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DrugsCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // DrugsCreateOrUpdate indicates an expected call of DrugsCreateOrUpdate. func (mr *MockGoodsServiceMockRecorder) DrugsCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreateOrUpdate", reflect.TypeOf((*MockGoodsService)(nil).DrugsCreateOrUpdate), arg0, arg1) } // DrugsList mocks base method. func (m *MockGoodsService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchDrugsResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // DrugsList indicates an expected call of DrugsList. func (mr *MockGoodsServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockGoodsService)(nil).DrugsList), arg0, arg1, arg2) } // FrozenSemenCreate mocks base method. func (m *MockGoodsService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // FrozenSemenCreate indicates an expected call of FrozenSemenCreate. func (mr *MockGoodsServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockGoodsService)(nil).FrozenSemenCreate), arg0, arg1) } // FrozenSemenList mocks base method. func (m *MockGoodsService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.FrozenSemenResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // FrozenSemenList indicates an expected call of FrozenSemenList. func (mr *MockGoodsServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockGoodsService)(nil).FrozenSemenList), arg0, arg1, arg2) } // MedicalEquipmentCreateOrUpdate mocks base method. func (m *MockGoodsService) MedicalEquipmentCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentList) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MedicalEquipmentCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // MedicalEquipmentCreateOrUpdate indicates an expected call of MedicalEquipmentCreateOrUpdate. func (mr *MockGoodsServiceMockRecorder) MedicalEquipmentCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentCreateOrUpdate", reflect.TypeOf((*MockGoodsService)(nil).MedicalEquipmentCreateOrUpdate), arg0, arg1) } // MedicalEquipmentList mocks base method. func (m *MockGoodsService) MedicalEquipmentList(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMedicalEquipmentResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MedicalEquipmentList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchMedicalEquipmentResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // MedicalEquipmentList indicates an expected call of MedicalEquipmentList. func (mr *MockGoodsServiceMockRecorder) MedicalEquipmentList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentList", reflect.TypeOf((*MockGoodsService)(nil).MedicalEquipmentList), arg0, arg1, arg2) } // NeckRingCreateOrUpdate mocks base method. func (m *MockGoodsService) NeckRingCreateOrUpdate(arg0 context.Context, arg1 *cowPb.NeckRingCreateRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "NeckRingCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // NeckRingCreateOrUpdate indicates an expected call of NeckRingCreateOrUpdate. func (mr *MockGoodsServiceMockRecorder) NeckRingCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingCreateOrUpdate", reflect.TypeOf((*MockGoodsService)(nil).NeckRingCreateOrUpdate), arg0, arg1) } // NeckRingList mocks base method. func (m *MockGoodsService) NeckRingList(arg0 context.Context, arg1 *cowPb.SearchNeckRingRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchNeckRingResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "NeckRingList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchNeckRingResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // NeckRingList indicates an expected call of NeckRingList. func (mr *MockGoodsServiceMockRecorder) NeckRingList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingList", reflect.TypeOf((*MockGoodsService)(nil).NeckRingList), arg0, arg1, arg2) } // OutboundApply mocks base method. func (m *MockGoodsService) OutboundApply(arg0 context.Context, arg1 *cowPb.OutboundApplyItem) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OutboundApply", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // OutboundApply indicates an expected call of OutboundApply. func (mr *MockGoodsServiceMockRecorder) OutboundApply(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundApply", reflect.TypeOf((*MockGoodsService)(nil).OutboundApply), arg0, arg1) } // OutboundAudit mocks base method. func (m *MockGoodsService) OutboundAudit(arg0 context.Context, arg1 *cowPb.OutboundApplyAuditRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OutboundAudit", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // OutboundAudit indicates an expected call of OutboundAudit. func (mr *MockGoodsServiceMockRecorder) OutboundAudit(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundAudit", reflect.TypeOf((*MockGoodsService)(nil).OutboundAudit), arg0, arg1) } // OutboundDelete mocks base method. func (m *MockGoodsService) OutboundDelete(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OutboundDelete", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // OutboundDelete indicates an expected call of OutboundDelete. func (mr *MockGoodsServiceMockRecorder) OutboundDelete(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDelete", reflect.TypeOf((*MockGoodsService)(nil).OutboundDelete), arg0, arg1) } // OutboundDetail mocks base method. func (m *MockGoodsService) OutboundDetail(arg0 context.Context, arg1 int64) (*cowPb.OutboundDetailResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OutboundDetail", arg0, arg1) ret0, _ := ret[0].(*cowPb.OutboundDetailResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // OutboundDetail indicates an expected call of OutboundDetail. func (mr *MockGoodsServiceMockRecorder) OutboundDetail(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDetail", reflect.TypeOf((*MockGoodsService)(nil).OutboundDetail), arg0, arg1) } // OutboundList mocks base method. func (m *MockGoodsService) OutboundList(arg0 context.Context, arg1 *cowPb.SearchOutboundApplyRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchOutboundApplyResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OutboundList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchOutboundApplyResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // OutboundList indicates an expected call of OutboundList. func (mr *MockGoodsServiceMockRecorder) OutboundList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundList", reflect.TypeOf((*MockGoodsService)(nil).OutboundList), arg0, arg1, arg2) }