1 // Code generated by mockery v2.35.4. DO NOT EDIT.
6 mock "github.com/stretchr/testify/mock"
7 invokermanagementapi "oransc.org/nonrtric/capifcore/internal/invokermanagementapi"
10 // InvokerRegister is an autogenerated mock type for the InvokerRegister type
11 type InvokerRegister struct {
15 // GetInvokerApiList provides a mock function with given fields: invokerId
16 func (_m *InvokerRegister) GetInvokerApiList(invokerId string) *invokermanagementapi.APIList {
17 ret := _m.Called(invokerId)
19 var r0 *invokermanagementapi.APIList
20 if rf, ok := ret.Get(0).(func(string) *invokermanagementapi.APIList); ok {
23 if ret.Get(0) != nil {
24 r0 = ret.Get(0).(*invokermanagementapi.APIList)
31 // IsInvokerRegistered provides a mock function with given fields: invokerId
32 func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool {
33 ret := _m.Called(invokerId)
36 if rf, ok := ret.Get(0).(func(string) bool); ok {
39 r0 = ret.Get(0).(bool)
45 // VerifyInvokerSecret provides a mock function with given fields: invokerId, secret
46 func (_m *InvokerRegister) VerifyInvokerSecret(invokerId string, secret string) bool {
47 ret := _m.Called(invokerId, secret)
50 if rf, ok := ret.Get(0).(func(string, string) bool); ok {
51 r0 = rf(invokerId, secret)
53 r0 = ret.Get(0).(bool)
59 // 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.
60 // The first argument is typically a *testing.T value.
61 func NewInvokerRegister(t interface {
65 mock := &InvokerRegister{}
68 t.Cleanup(func() { mock.AssertExpectations(t) })