-
Notifications
You must be signed in to change notification settings - Fork 19
/
auction_state_mock.go
142 lines (119 loc) · 4.93 KB
/
auction_state_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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// Code generated by MockGen. DO NOT EDIT.
// Source: code.vegaprotocol.io/vega/core/monitor/liquidity (interfaces: AuctionState)
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
time "time"
types "code.vegaprotocol.io/vega/core/types"
gomock "github.com/golang/mock/gomock"
)
// MockAuctionState is a mock of AuctionState interface.
type MockAuctionState struct {
ctrl *gomock.Controller
recorder *MockAuctionStateMockRecorder
}
// MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.
type MockAuctionStateMockRecorder struct {
mock *MockAuctionState
}
// NewMockAuctionState creates a new mock instance.
func NewMockAuctionState(ctrl *gomock.Controller) *MockAuctionState {
mock := &MockAuctionState{ctrl: ctrl}
mock.recorder = &MockAuctionStateMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAuctionState) EXPECT() *MockAuctionStateMockRecorder {
return m.recorder
}
// ExpiresAt mocks base method.
func (m *MockAuctionState) ExpiresAt() *time.Time {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ExpiresAt")
ret0, _ := ret[0].(*time.Time)
return ret0
}
// ExpiresAt indicates an expected call of ExpiresAt.
func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExpiresAt", reflect.TypeOf((*MockAuctionState)(nil).ExpiresAt))
}
// ExtendAuctionLiquidity mocks base method.
func (m *MockAuctionState) ExtendAuctionLiquidity(arg0 types.AuctionDuration) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "ExtendAuctionLiquidity", arg0)
}
// ExtendAuctionLiquidity indicates an expected call of ExtendAuctionLiquidity.
func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidity(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExtendAuctionLiquidity", reflect.TypeOf((*MockAuctionState)(nil).ExtendAuctionLiquidity), arg0)
}
// InAuction mocks base method.
func (m *MockAuctionState) InAuction() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "InAuction")
ret0, _ := ret[0].(bool)
return ret0
}
// InAuction indicates an expected call of InAuction.
func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InAuction", reflect.TypeOf((*MockAuctionState)(nil).InAuction))
}
// IsLiquidityAuction mocks base method.
func (m *MockAuctionState) IsLiquidityAuction() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsLiquidityAuction")
ret0, _ := ret[0].(bool)
return ret0
}
// IsLiquidityAuction indicates an expected call of IsLiquidityAuction.
func (mr *MockAuctionStateMockRecorder) IsLiquidityAuction() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLiquidityAuction", reflect.TypeOf((*MockAuctionState)(nil).IsLiquidityAuction))
}
// IsLiquidityExtension mocks base method.
func (m *MockAuctionState) IsLiquidityExtension() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsLiquidityExtension")
ret0, _ := ret[0].(bool)
return ret0
}
// IsLiquidityExtension indicates an expected call of IsLiquidityExtension.
func (mr *MockAuctionStateMockRecorder) IsLiquidityExtension() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLiquidityExtension", reflect.TypeOf((*MockAuctionState)(nil).IsLiquidityExtension))
}
// IsOpeningAuction mocks base method.
func (m *MockAuctionState) IsOpeningAuction() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsOpeningAuction")
ret0, _ := ret[0].(bool)
return ret0
}
// IsOpeningAuction indicates an expected call of IsOpeningAuction.
func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOpeningAuction", reflect.TypeOf((*MockAuctionState)(nil).IsOpeningAuction))
}
// SetReadyToLeave mocks base method.
func (m *MockAuctionState) SetReadyToLeave() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetReadyToLeave")
}
// SetReadyToLeave indicates an expected call of SetReadyToLeave.
func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReadyToLeave", reflect.TypeOf((*MockAuctionState)(nil).SetReadyToLeave))
}
// StartLiquidityAuction mocks base method.
func (m *MockAuctionState) StartLiquidityAuction(arg0 time.Time, arg1 *types.AuctionDuration) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "StartLiquidityAuction", arg0, arg1)
}
// StartLiquidityAuction indicates an expected call of StartLiquidityAuction.
func (mr *MockAuctionStateMockRecorder) StartLiquidityAuction(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartLiquidityAuction", reflect.TypeOf((*MockAuctionState)(nil).StartLiquidityAuction), arg0, arg1)
}