/
blockchain_stats_mock.go
48 lines (39 loc) · 1.41 KB
/
blockchain_stats_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Code generated by MockGen. DO NOT EDIT.
// Source: code.vegaprotocol.io/vega/core/nodewallets (interfaces: BlockchainStats)
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockBlockchainStats is a mock of BlockchainStats interface.
type MockBlockchainStats struct {
ctrl *gomock.Controller
recorder *MockBlockchainStatsMockRecorder
}
// MockBlockchainStatsMockRecorder is the mock recorder for MockBlockchainStats.
type MockBlockchainStatsMockRecorder struct {
mock *MockBlockchainStats
}
// NewMockBlockchainStats creates a new mock instance.
func NewMockBlockchainStats(ctrl *gomock.Controller) *MockBlockchainStats {
mock := &MockBlockchainStats{ctrl: ctrl}
mock.recorder = &MockBlockchainStatsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBlockchainStats) EXPECT() *MockBlockchainStatsMockRecorder {
return m.recorder
}
// Height mocks base method.
func (m *MockBlockchainStats) Height() uint64 {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Height")
ret0, _ := ret[0].(uint64)
return ret0
}
// Height indicates an expected call of Height.
func (mr *MockBlockchainStatsMockRecorder) Height() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Height", reflect.TypeOf((*MockBlockchainStats)(nil).Height))
}