From aa18aee1161660ff642ceae600eed3b1a8515a41 Mon Sep 17 00:00:00 2001 From: Madhur Shrimal Date: Wed, 26 Jun 2024 17:00:51 -0700 Subject: [PATCH] add mocks --- chainio/mocks/elContractsWriter.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/chainio/mocks/elContractsWriter.go b/chainio/mocks/elContractsWriter.go index 5b5af23d..f497184f 100644 --- a/chainio/mocks/elContractsWriter.go +++ b/chainio/mocks/elContractsWriter.go @@ -73,6 +73,21 @@ func (mr *MockELWriterMockRecorder) RegisterAsOperator(arg0, arg1 any) *gomock.C return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterAsOperator", reflect.TypeOf((*MockELWriter)(nil).RegisterAsOperator), arg0, arg1) } +// SetClaimerFor mocks base method. +func (m *MockELWriter) SetClaimerFor(arg0 context.Context, arg1 common.Address) (*types0.Receipt, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetClaimerFor", arg0, arg1) + ret0, _ := ret[0].(*types0.Receipt) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetClaimerFor indicates an expected call of SetClaimerFor. +func (mr *MockELWriterMockRecorder) SetClaimerFor(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClaimerFor", reflect.TypeOf((*MockELWriter)(nil).SetClaimerFor), arg0, arg1) +} + // UpdateMetadataURI mocks base method. func (m *MockELWriter) UpdateMetadataURI(arg0 context.Context, arg1 string) (*types0.Receipt, error) { m.ctrl.T.Helper()