X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=internal%2Finvokermanagement%2Fmocks%2FInvokerRegister.go;fp=internal%2Finvokermanagement%2Fmocks%2FInvokerRegister.go;h=0000000000000000000000000000000000000000;hb=c9e08b2a2f647f9f870040570c5e71305f0fb5d2;hp=3eb317a9bd37b6d70648e73d159f3c277c03b2e3;hpb=8fcfa4ecde6d95ead33c34b0e7efc4933ad44444;p=nonrtric%2Fplt%2Fsme.git diff --git a/internal/invokermanagement/mocks/InvokerRegister.go b/internal/invokermanagement/mocks/InvokerRegister.go deleted file mode 100644 index 3eb317a..0000000 --- a/internal/invokermanagement/mocks/InvokerRegister.go +++ /dev/null @@ -1,53 +0,0 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. - -package mocks - -import mock "github.com/stretchr/testify/mock" - -// InvokerRegister is an autogenerated mock type for the InvokerRegister type -type InvokerRegister struct { - mock.Mock -} - -// IsInvokerRegistered provides a mock function with given fields: invokerId -func (_m *InvokerRegister) IsInvokerRegistered(invokerId string) bool { - ret := _m.Called(invokerId) - - var r0 bool - if rf, ok := ret.Get(0).(func(string) bool); ok { - r0 = rf(invokerId) - } else { - r0 = ret.Get(0).(bool) - } - - return r0 -} - -// VerifyInvokerSecret provides a mock function with given fields: invokerId, secret -func (_m *InvokerRegister) VerifyInvokerSecret(invokerId string, secret string) bool { - ret := _m.Called(invokerId, secret) - - var r0 bool - if rf, ok := ret.Get(0).(func(string, string) bool); ok { - r0 = rf(invokerId, secret) - } else { - r0 = ret.Get(0).(bool) - } - - return r0 -} - -type mockConstructorTestingTNewInvokerRegister 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 { - mock := &InvokerRegister{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -}