// Code generated by mockery v2.35.4. DO NOT EDIT. package mocks import mock "github.com/stretchr/testify/mock" // ServiceRegister is an autogenerated mock type for the ServiceRegister type type ServiceRegister struct { mock.Mock } // GetAefsForPublisher provides a mock function with given fields: apfId func (_m *ServiceRegister) GetAefsForPublisher(apfId string) []string { ret := _m.Called(apfId) var r0 []string if rf, ok := ret.Get(0).(func(string) []string); ok { r0 = rf(apfId) } else { if ret.Get(0) != nil { r0 = ret.Get(0).([]string) } } return r0 } // IsFunctionRegistered provides a mock function with given fields: functionId func (_m *ServiceRegister) IsFunctionRegistered(functionId string) bool { ret := _m.Called(functionId) var r0 bool if rf, ok := ret.Get(0).(func(string) bool); ok { r0 = rf(functionId) } else { r0 = ret.Get(0).(bool) } return r0 } // IsPublishingFunctionRegistered provides a mock function with given fields: apiProvFuncId func (_m *ServiceRegister) IsPublishingFunctionRegistered(apiProvFuncId string) bool { ret := _m.Called(apiProvFuncId) var r0 bool if rf, ok := ret.Get(0).(func(string) bool); ok { r0 = rf(apiProvFuncId) } else { r0 = ret.Get(0).(bool) } return r0 } // NewServiceRegister creates a new instance of ServiceRegister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewServiceRegister(t interface { mock.TestingT Cleanup(func()) }) *ServiceRegister { mock := &ServiceRegister{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }