1 // Code generated by mockery v2.14.0. DO NOT EDIT.
6 mock "github.com/stretchr/testify/mock"
8 publishserviceapi "oransc.org/nonrtric/capifcore/internal/publishserviceapi"
11 // PublishRegister is an autogenerated mock type for the PublishRegister type
12 type PublishRegister struct {
16 // GetAllPublishedServices provides a mock function with given fields:
17 func (_m *PublishRegister) GetAllPublishedServices() []publishserviceapi.ServiceAPIDescription {
20 var r0 []publishserviceapi.ServiceAPIDescription
21 if rf, ok := ret.Get(0).(func() []publishserviceapi.ServiceAPIDescription); ok {
24 if ret.Get(0) != nil {
25 r0 = ret.Get(0).([]publishserviceapi.ServiceAPIDescription)
32 // IsAPIPublished provides a mock function with given fields: aefId, path
33 func (_m *PublishRegister) IsAPIPublished(aefId string, path string) bool {
34 ret := _m.Called(aefId, path)
37 if rf, ok := ret.Get(0).(func(string, string) bool); ok {
40 r0 = ret.Get(0).(bool)
46 type mockConstructorTestingTNewPublishRegister interface {
51 // 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.
52 func NewPublishRegister(t mockConstructorTestingTNewPublishRegister) *PublishRegister {
53 mock := &PublishRegister{}
56 t.Cleanup(func() { mock.AssertExpectations(t) })