1 // Code generated by mockery v2.35.4. DO NOT EDIT.
5 import mock "github.com/stretchr/testify/mock"
7 // ServiceRegister is an autogenerated mock type for the ServiceRegister type
8 type ServiceRegister struct {
12 // GetAefsForPublisher provides a mock function with given fields: apfId
13 func (_m *ServiceRegister) GetAefsForPublisher(apfId string) []string {
14 ret := _m.Called(apfId)
17 if rf, ok := ret.Get(0).(func(string) []string); ok {
20 if ret.Get(0) != nil {
21 r0 = ret.Get(0).([]string)
28 // IsFunctionRegistered provides a mock function with given fields: functionId
29 func (_m *ServiceRegister) IsFunctionRegistered(functionId string) bool {
30 ret := _m.Called(functionId)
33 if rf, ok := ret.Get(0).(func(string) bool); ok {
36 r0 = ret.Get(0).(bool)
42 // IsPublishingFunctionRegistered provides a mock function with given fields: apiProvFuncId
43 func (_m *ServiceRegister) IsPublishingFunctionRegistered(apiProvFuncId string) bool {
44 ret := _m.Called(apiProvFuncId)
47 if rf, ok := ret.Get(0).(func(string) bool); ok {
48 r0 = rf(apiProvFuncId)
50 r0 = ret.Get(0).(bool)
56 // 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.
57 // The first argument is typically a *testing.T value.
58 func NewServiceRegister(t interface {
62 mock := &ServiceRegister{}
65 t.Cleanup(func() { mock.AssertExpectations(t) })