Update release notes for Service Manager and CapifCore (J-Release)
[nonrtric/plt/sme.git] / capifcore / internal / invokermanagement / mocks / InvokerRegister.go
1 // Code generated by mockery v2.35.4. DO NOT EDIT.
2
3 package mocks
4
5 import (
6         mock "github.com/stretchr/testify/mock"
7         invokermanagementapi "oransc.org/nonrtric/capifcore/internal/invokermanagementapi"
8 )
9
10 // InvokerRegister is an autogenerated mock type for the InvokerRegister type
11 type InvokerRegister struct {
12         mock.Mock
13 }
14
15 // GetInvokerApiList provides a mock function with given fields: invokerId
16 func (_m *InvokerRegister) GetInvokerApiList(invokerId string) *invokermanagementapi.APIList {
17         ret := _m.Called(invokerId)
18
19         var r0 *invokermanagementapi.APIList
20         if rf, ok := ret.Get(0).(func(string) *invokermanagementapi.APIList); ok {
21                 r0 = rf(invokerId)
22         } else {
23                 if ret.Get(0) != nil {
24                         r0 = ret.Get(0).(*invokermanagementapi.APIList)
25                 }
26         }
27
28         return r0
29 }
30
31 // IsInvokerRegistered provides a mock function with given fields: invokerId
32 func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool {
33         ret := _m.Called(invokerId)
34
35         var r0 bool
36         if rf, ok := ret.Get(0).(func(string) bool); ok {
37                 r0 = rf(invokerId)
38         } else {
39                 r0 = ret.Get(0).(bool)
40         }
41
42         return r0
43 }
44
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)
48
49         var r0 bool
50         if rf, ok := ret.Get(0).(func(string, string) bool); ok {
51                 r0 = rf(invokerId, secret)
52         } else {
53                 r0 = ret.Get(0).(bool)
54         }
55
56         return r0
57 }
58
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 {
62         mock.TestingT
63         Cleanup(func())
64 }) *InvokerRegister {
65         mock := &InvokerRegister{}
66         mock.Mock.Test(t)
67
68         t.Cleanup(func() { mock.AssertExpectations(t) })
69
70         return mock
71 }