1 // Code generated by mockery v2.14.0. DO NOT EDIT.
5 import mock "github.com/stretchr/testify/mock"
7 // InvokerRegister is an autogenerated mock type for the InvokerRegister type
8 type InvokerRegister struct {
12 // IsInvokerRegistered provides a mock function with given fields: invokerId
13 func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool {
14 ret := _m.Called(invokerId)
17 if rf, ok := ret.Get(0).(func(string) bool); ok {
20 r0 = ret.Get(0).(bool)
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)
31 if rf, ok := ret.Get(0).(func(string, string) bool); ok {
32 r0 = rf(invokerId, secret)
34 r0 = ret.Get(0).(bool)
40 type mockConstructorTestingTNewInvokerRegister interface {
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{}
50 t.Cleanup(func() { mock.AssertExpectations(t) })