code.vegaprotocol.io/vega@v0.79.0/core/bridges/mocks/eth_confirmations_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: code.vegaprotocol.io/vega/core/bridges (interfaces: EthConfirmations) 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 // MockEthConfirmations is a mock of EthConfirmations interface. 14 type MockEthConfirmations struct { 15 ctrl *gomock.Controller 16 recorder *MockEthConfirmationsMockRecorder 17 } 18 19 // MockEthConfirmationsMockRecorder is the mock recorder for MockEthConfirmations. 20 type MockEthConfirmationsMockRecorder struct { 21 mock *MockEthConfirmations 22 } 23 24 // NewMockEthConfirmations creates a new mock instance. 25 func NewMockEthConfirmations(ctrl *gomock.Controller) *MockEthConfirmations { 26 mock := &MockEthConfirmations{ctrl: ctrl} 27 mock.recorder = &MockEthConfirmationsMockRecorder{mock} 28 return mock 29 } 30 31 // EXPECT returns an object that allows the caller to indicate expected use. 32 func (m *MockEthConfirmations) EXPECT() *MockEthConfirmationsMockRecorder { 33 return m.recorder 34 } 35 36 // Check mocks base method. 37 func (m *MockEthConfirmations) 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 *MockEthConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call { 46 mr.mock.ctrl.T.Helper() 47 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Check", reflect.TypeOf((*MockEthConfirmations)(nil).Check), arg0) 48 }