3eb317a9bd37b6d70648e73d159f3c277c03b2e3
[nonrtric/plt/sme.git] / internal / invokermanagement / mocks / InvokerRegister.go
1 // Code generated by mockery v2.14.0. DO NOT EDIT.
2
3 package mocks
4
5 import mock "github.com/stretchr/testify/mock"
6
7 // InvokerRegister is an autogenerated mock type for the InvokerRegister type
8 type InvokerRegister struct {
9         mock.Mock
10 }
11
12 // IsInvokerRegistered provides a mock function with given fields: invokerId
13 func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool {
14         ret := _m.Called(invokerId)
15
16         var r0 bool
17         if rf, ok := ret.Get(0).(func(string) bool); ok {
18                 r0 = rf(invokerId)
19         } else {
20                 r0 = ret.Get(0).(bool)
21         }
22
23         return r0
24 }
25
26 // VerifyInvokerSecret provides a mock function with given fields: invokerId, secret
27 func (_m *InvokerRegister) VerifyInvokerSecret(invokerId string, secret string) bool {
28         ret := _m.Called(invokerId, secret)
29
30         var r0 bool
31         if rf, ok := ret.Get(0).(func(string, string) bool); ok {
32                 r0 = rf(invokerId, secret)
33         } else {
34                 r0 = ret.Get(0).(bool)
35         }
36
37         return r0
38 }
39
40 type mockConstructorTestingTNewInvokerRegister interface {
41         mock.TestingT
42         Cleanup(func())
43 }
44
45 // 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.
46 func NewInvokerRegister(t mockConstructorTestingTNewInvokerRegister) *InvokerRegister {
47         mock := &InvokerRegister{}
48         mock.Mock.Test(t)
49
50         t.Cleanup(func() { mock.AssertExpectations(t) })
51
52         return mock
53 }