123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- // Code generated by MockGen. DO NOT EDIT.
- // Source: kpt-pasture/module/backend (interfaces: ConfigDataService)
- // 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"
- )
- // MockConfigDataService is a mock of ConfigDataService interface.
- type MockConfigDataService struct {
- ctrl *gomock.Controller
- recorder *MockConfigDataServiceMockRecorder
- }
- // MockConfigDataServiceMockRecorder is the mock recorder for MockConfigDataService.
- type MockConfigDataServiceMockRecorder struct {
- mock *MockConfigDataService
- }
- // NewMockConfigDataService creates a new mock instance.
- func NewMockConfigDataService(ctrl *gomock.Controller) *MockConfigDataService {
- mock := &MockConfigDataService{ctrl: ctrl}
- mock.recorder = &MockConfigDataServiceMockRecorder{mock}
- return mock
- }
- // EXPECT returns an object that allows the caller to indicate expected use.
- func (m *MockConfigDataService) EXPECT() *MockConfigDataServiceMockRecorder {
- return m.recorder
- }
- // BarnListOptions mocks base method.
- func (m *MockConfigDataService) BarnListOptions(arg0 context.Context, arg1 int, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // BarnListOptions indicates an expected call of BarnListOptions.
- func (mr *MockConfigDataServiceMockRecorder) BarnListOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockConfigDataService)(nil).BarnListOptions), arg0, arg1, arg2)
- }
- // BarnTypeOptions mocks base method.
- func (m *MockConfigDataService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // BarnTypeOptions indicates an expected call of BarnTypeOptions.
- func (mr *MockConfigDataServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).BarnTypeOptions), arg0)
- }
- // BreedStatusOptions mocks base method.
- func (m *MockConfigDataService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // BreedStatusOptions indicates an expected call of BreedStatusOptions.
- func (mr *MockConfigDataServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockConfigDataService)(nil).BreedStatusOptions), arg0)
- }
- // BullOptions mocks base method.
- func (m *MockConfigDataService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BullOptions", arg0)
- ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // BullOptions indicates an expected call of BullOptions.
- func (mr *MockConfigDataServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockConfigDataService)(nil).BullOptions), arg0)
- }
- // CowKindOptions mocks base method.
- func (m *MockConfigDataService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowKindOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowKindOptions indicates an expected call of CowKindOptions.
- func (mr *MockConfigDataServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowKindOptions), arg0)
- }
- // CowSourceOptions mocks base method.
- func (m *MockConfigDataService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowSourceOptions indicates an expected call of CowSourceOptions.
- func (mr *MockConfigDataServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowSourceOptions), arg0)
- }
- // CowTransferPenReasonOptions mocks base method.
- func (m *MockConfigDataService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
- func (mr *MockConfigDataServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowTransferPenReasonOptions), arg0)
- }
- // CowTypeOptions mocks base method.
- func (m *MockConfigDataService) CowTypeOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowTypeOptions", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowTypeOptions indicates an expected call of CowTypeOptions.
- func (mr *MockConfigDataServiceMockRecorder) CowTypeOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowTypeOptions), arg0, arg1, arg2)
- }
- // DiseaseOptions mocks base method.
- func (m *MockConfigDataService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiseaseOptions indicates an expected call of DiseaseOptions.
- func (mr *MockConfigDataServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockConfigDataService)(nil).DiseaseOptions), arg0)
- }
- // DiseaseTypeOptions mocks base method.
- func (m *MockConfigDataService) DiseaseTypeOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
- func (mr *MockConfigDataServiceMockRecorder) DiseaseTypeOptions(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).DiseaseTypeOptions), arg0, arg1)
- }
- // PrescriptionOptions mocks base method.
- func (m *MockConfigDataService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PrescriptionOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PrescriptionOptions indicates an expected call of PrescriptionOptions.
- func (mr *MockConfigDataServiceMockRecorder) PrescriptionOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionOptions", reflect.TypeOf((*MockConfigDataService)(nil).PrescriptionOptions), arg0)
- }
- // SystemBaseConfigOptions mocks base method.
- func (m *MockConfigDataService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
- func (mr *MockConfigDataServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockConfigDataService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
- }
- // SystemUserOptions mocks base method.
- func (m *MockConfigDataService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SystemUserOptions indicates an expected call of SystemUserOptions.
- func (mr *MockConfigDataServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockConfigDataService)(nil).SystemUserOptions), arg0, arg1)
- }
|