-
Notifications
You must be signed in to change notification settings - Fork 2
/
mock_staker_iterator.go
77 lines (63 loc) · 2.27 KB
/
mock_staker_iterator.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
// Copyright (C) 2019-2023, Lux Partners Limited. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxdefi/node/vms/platformvm/state (interfaces: StakerIterator)
// Package state is a generated GoMock package.
package state
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockStakerIterator is a mock of StakerIterator interface.
type MockStakerIterator struct {
ctrl *gomock.Controller
recorder *MockStakerIteratorMockRecorder
}
// MockStakerIteratorMockRecorder is the mock recorder for MockStakerIterator.
type MockStakerIteratorMockRecorder struct {
mock *MockStakerIterator
}
// NewMockStakerIterator creates a new mock instance.
func NewMockStakerIterator(ctrl *gomock.Controller) *MockStakerIterator {
mock := &MockStakerIterator{ctrl: ctrl}
mock.recorder = &MockStakerIteratorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockStakerIterator) EXPECT() *MockStakerIteratorMockRecorder {
return m.recorder
}
// Next mocks base method.
func (m *MockStakerIterator) Next() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Next")
ret0, _ := ret[0].(bool)
return ret0
}
// Next indicates an expected call of Next.
func (mr *MockStakerIteratorMockRecorder) Next() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockStakerIterator)(nil).Next))
}
// Release mocks base method.
func (m *MockStakerIterator) Release() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Release")
}
// Release indicates an expected call of Release.
func (mr *MockStakerIteratorMockRecorder) Release() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Release", reflect.TypeOf((*MockStakerIterator)(nil).Release))
}
// Value mocks base method.
func (m *MockStakerIterator) Value() *Staker {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Value")
ret0, _ := ret[0].(*Staker)
return ret0
}
// Value indicates an expected call of Value.
func (mr *MockStakerIteratorMockRecorder) Value() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Value", reflect.TypeOf((*MockStakerIterator)(nil).Value))
}