-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
package mocks
mock.Mock
}
-// IsFunctionRegistered provides a mock function with given fields: aefId
-func (_m *ServiceRegister) IsFunctionRegistered(aefId string) bool {
- ret := _m.Called(aefId)
+// 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(aefId)
+ r0 = rf(functionId)
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
-type mockConstructorTestingTNewServiceRegister interface {
- mock.TestingT
- Cleanup(func())
+// 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.
-func NewServiceRegister(t mockConstructorTestingTNewServiceRegister) *ServiceRegister {
+// The first argument is typically a *testing.T value.
+func NewServiceRegister(t interface {
+ mock.TestingT
+ Cleanup(func())
+}) *ServiceRegister {
mock := &ServiceRegister{}
mock.Mock.Test(t)