code.vegaprotocol.io/vega@v0.79.0/core/datasource/external/ethverifier/mocks/eth_confirmations_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: code.vegaprotocol.io/vega/core/datasource/external/ethverifier (interfaces: EthereumConfirmations) 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 ) 12 13 // MockEthereumConfirmations is a mock of EthereumConfirmations interface. 14 type MockEthereumConfirmations struct { 15 ctrl *gomock.Controller 16 recorder *MockEthereumConfirmationsMockRecorder 17 } 18 19 // MockEthereumConfirmationsMockRecorder is the mock recorder for MockEthereumConfirmations. 20 type MockEthereumConfirmationsMockRecorder struct { 21 mock *MockEthereumConfirmations 22 } 23 24 // NewMockEthereumConfirmations creates a new mock instance. 25 func NewMockEthereumConfirmations(ctrl *gomock.Controller) *MockEthereumConfirmations { 26 mock := &MockEthereumConfirmations{ctrl: ctrl} 27 mock.recorder = &MockEthereumConfirmationsMockRecorder{mock} 28 return mock 29 } 30 31 // EXPECT returns an object that allows the caller to indicate expected use. 32 func (m *MockEthereumConfirmations) EXPECT() *MockEthereumConfirmationsMockRecorder { 33 return m.recorder 34 } 35 36 // Check mocks base method. 37 func (m *MockEthereumConfirmations) Check(arg0 uint64) error { 38 m.ctrl.T.Helper() 39 ret := m.ctrl.Call(m, "Check", arg0) 40 ret0, _ := ret[0].(error) 41 return ret0 42 } 43 44 // Check indicates an expected call of Check. 45 func (mr *MockEthereumConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call { 46 mr.mock.ctrl.T.Helper() 47 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Check", reflect.TypeOf((*MockEthereumConfirmations)(nil).Check), arg0) 48 } 49 50 // CheckRequiredConfirmations mocks base method. 51 func (m *MockEthereumConfirmations) CheckRequiredConfirmations(arg0, arg1 uint64) error { 52 m.ctrl.T.Helper() 53 ret := m.ctrl.Call(m, "CheckRequiredConfirmations", arg0, arg1) 54 ret0, _ := ret[0].(error) 55 return ret0 56 } 57 58 // CheckRequiredConfirmations indicates an expected call of CheckRequiredConfirmations. 59 func (mr *MockEthereumConfirmationsMockRecorder) CheckRequiredConfirmations(arg0, arg1 interface{}) *gomock.Call { 60 mr.mock.ctrl.T.Helper() 61 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckRequiredConfirmations", reflect.TypeOf((*MockEthereumConfirmations)(nil).CheckRequiredConfirmations), arg0, arg1) 62 } 63 64 // GetConfirmations mocks base method. 65 func (m *MockEthereumConfirmations) GetConfirmations() uint64 { 66 m.ctrl.T.Helper() 67 ret := m.ctrl.Call(m, "GetConfirmations") 68 ret0, _ := ret[0].(uint64) 69 return ret0 70 } 71 72 // GetConfirmations indicates an expected call of GetConfirmations. 73 func (mr *MockEthereumConfirmationsMockRecorder) GetConfirmations() *gomock.Call { 74 mr.mock.ctrl.T.Helper() 75 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfirmations", reflect.TypeOf((*MockEthereumConfirmations)(nil).GetConfirmations)) 76 }