-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
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)
return r0
}
-type mockConstructorTestingTNewInvokerRegister interface {
+// NewInvokerRegister creates a new instance of InvokerRegister. 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 NewInvokerRegister(t interface {
mock.TestingT
Cleanup(func())
-}
-
-// NewInvokerRegister creates a new instance of InvokerRegister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
-func NewInvokerRegister(t mockConstructorTestingTNewInvokerRegister) *InvokerRegister {
+}) *InvokerRegister {
mock := &InvokerRegister{}
mock.Mock.Test(t)