code.vegaprotocol.io/vega@v0.79.0/core/nodewallets/mocks/blockchain_stats_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: code.vegaprotocol.io/vega/core/nodewallets (interfaces: BlockchainStats) 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 // MockBlockchainStats is a mock of BlockchainStats interface. 14 type MockBlockchainStats struct { 15 ctrl *gomock.Controller 16 recorder *MockBlockchainStatsMockRecorder 17 } 18 19 // MockBlockchainStatsMockRecorder is the mock recorder for MockBlockchainStats. 20 type MockBlockchainStatsMockRecorder struct { 21 mock *MockBlockchainStats 22 } 23 24 // NewMockBlockchainStats creates a new mock instance. 25 func NewMockBlockchainStats(ctrl *gomock.Controller) *MockBlockchainStats { 26 mock := &MockBlockchainStats{ctrl: ctrl} 27 mock.recorder = &MockBlockchainStatsMockRecorder{mock} 28 return mock 29 } 30 31 // EXPECT returns an object that allows the caller to indicate expected use. 32 func (m *MockBlockchainStats) EXPECT() *MockBlockchainStatsMockRecorder { 33 return m.recorder 34 } 35 36 // Height mocks base method. 37 func (m *MockBlockchainStats) Height() uint64 { 38 m.ctrl.T.Helper() 39 ret := m.ctrl.Call(m, "Height") 40 ret0, _ := ret[0].(uint64) 41 return ret0 42 } 43 44 // Height indicates an expected call of Height. 45 func (mr *MockBlockchainStatsMockRecorder) Height() *gomock.Call { 46 mr.mock.ctrl.T.Helper() 47 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Height", reflect.TypeOf((*MockBlockchainStats)(nil).Height)) 48 }