X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Finternal%2Finvokermanagement%2Fmocks%2FInvokerRegister.go;h=123dd9a9eeb20a1e2acace2a5bec84ada2c9247d;hb=a1ad27aad62ac843bb2d8a6e843c2e388c2e055d;hp=3eb317a9bd37b6d70648e73d159f3c277c03b2e3;hpb=c9e08b2a2f647f9f870040570c5e71305f0fb5d2;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/internal/invokermanagement/mocks/InvokerRegister.go b/capifcore/internal/invokermanagement/mocks/InvokerRegister.go index 3eb317a..123dd9a 100644 --- a/capifcore/internal/invokermanagement/mocks/InvokerRegister.go +++ b/capifcore/internal/invokermanagement/mocks/InvokerRegister.go @@ -2,13 +2,32 @@ package mocks -import mock "github.com/stretchr/testify/mock" +import ( + mock "github.com/stretchr/testify/mock" + invokermanagementapi "oransc.org/nonrtric/capifcore/internal/invokermanagementapi" +) // InvokerRegister is an autogenerated mock type for the InvokerRegister type type InvokerRegister struct { mock.Mock } +// GetInvokerApiList provides a mock function with given fields: invokerId +func (_m *InvokerRegister) GetInvokerApiList(invokerId string) *invokermanagementapi.APIList { + ret := _m.Called(invokerId) + + var r0 *invokermanagementapi.APIList + if rf, ok := ret.Get(0).(func(string) *invokermanagementapi.APIList); ok { + r0 = rf(invokerId) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*invokermanagementapi.APIList) + } + } + + return r0 +} + // IsInvokerRegistered provides a mock function with given fields: invokerId func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool { ret := _m.Called(invokerId)