NONRTRIC-946: Make GET for GetApfIdServiceApis stateless
[nonrtric/plt/sme.git] / capifcore / internal / providermanagement / mocks / ServiceRegister.go
index c795ed1..a35f17d 100644 (file)
@@ -1,4 +1,4 @@
-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
 
 package mocks
 
@@ -39,13 +39,26 @@ func (_m *ServiceRegister) IsFunctionRegistered(functionId string) 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)