-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
package mocks
mock.Mock
}
-// AreAPIsPublished provides a mock function with given fields: serviceDescriptions
-func (_m *PublishRegister) AreAPIsPublished(serviceDescriptions *[]publishserviceapi.ServiceAPIDescription) bool {
- ret := _m.Called(serviceDescriptions)
+// GetAllPublishedServices provides a mock function with given fields:
+func (_m *PublishRegister) GetAllPublishedServices() []publishserviceapi.ServiceAPIDescription {
+ ret := _m.Called()
- var r0 bool
- if rf, ok := ret.Get(0).(func(*[]publishserviceapi.ServiceAPIDescription) bool); ok {
- r0 = rf(serviceDescriptions)
+ var r0 []publishserviceapi.ServiceAPIDescription
+ if rf, ok := ret.Get(0).(func() []publishserviceapi.ServiceAPIDescription); ok {
+ r0 = rf()
} else {
- r0 = ret.Get(0).(bool)
+ if ret.Get(0) != nil {
+ r0 = ret.Get(0).([]publishserviceapi.ServiceAPIDescription)
+ }
}
return r0
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)