-
Notifications
You must be signed in to change notification settings - Fork 19
/
eth_confirmations_mock.go
48 lines (39 loc) · 1.47 KB
/
eth_confirmations_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/validators/erc20multisig (interfaces: EthConfirmations)
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockEthConfirmations is a mock of EthConfirmations interface.
type MockEthConfirmations struct {
ctrl *gomock.Controller
recorder *MockEthConfirmationsMockRecorder
}
// MockEthConfirmationsMockRecorder is the mock recorder for MockEthConfirmations.
type MockEthConfirmationsMockRecorder struct {
mock *MockEthConfirmations
}
// NewMockEthConfirmations creates a new mock instance.
func NewMockEthConfirmations(ctrl *gomock.Controller) *MockEthConfirmations {
mock := &MockEthConfirmations{ctrl: ctrl}
mock.recorder = &MockEthConfirmationsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockEthConfirmations) EXPECT() *MockEthConfirmationsMockRecorder {
return m.recorder
}
// Check mocks base method.
func (m *MockEthConfirmations) Check(arg0 uint64) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Check", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// Check indicates an expected call of Check.
func (mr *MockEthConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Check", reflect.TypeOf((*MockEthConfirmations)(nil).Check), arg0)
}