-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
package mocks
return r0
}
+// GetAllowedPublishedServices provides a mock function with given fields: invokerApiList
+func (_m *PublishRegister) GetAllowedPublishedServices(invokerApiList []publishserviceapi.ServiceAPIDescription) []publishserviceapi.ServiceAPIDescription {
+ ret := _m.Called(invokerApiList)
+
+ var r0 []publishserviceapi.ServiceAPIDescription
+ if rf, ok := ret.Get(0).(func([]publishserviceapi.ServiceAPIDescription) []publishserviceapi.ServiceAPIDescription); ok {
+ r0 = rf(invokerApiList)
+ } else {
+ if ret.Get(0) != nil {
+ r0 = ret.Get(0).([]publishserviceapi.ServiceAPIDescription)
+ }
+ }
+
+ return r0
+}
+
// IsAPIPublished provides a mock function with given fields: aefId, path
func (_m *PublishRegister) IsAPIPublished(aefId string, path string) bool {
ret := _m.Called(aefId, path)
return r0
}
-type mockConstructorTestingTNewPublishRegister interface {
+// NewPublishRegister creates a new instance of PublishRegister. 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 NewPublishRegister(t interface {
mock.TestingT
Cleanup(func())
-}
-
-// NewPublishRegister creates a new instance of PublishRegister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
-func NewPublishRegister(t mockConstructorTestingTNewPublishRegister) *PublishRegister {
+}) *PublishRegister {
mock := &PublishRegister{}
mock.Mock.Test(t)