code.vegaprotocol.io/vega@v0.79.0/core/datasource/spec/mocks/eth_confirmations_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: code.vegaprotocol.io/vega/core/oracles (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 }