-
Notifications
You must be signed in to change notification settings - Fork 320
/
mock_actioniterator.go
62 lines (51 loc) · 1.89 KB
/
mock_actioniterator.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
// Code generated by MockGen. DO NOT EDIT.
// Source: ./actpool/actioniterator/actioniterator.go
// Package mock_actioniterator is a generated GoMock package.
package mock_actioniterator
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
action "github.com/iotexproject/iotex-core/action"
)
// MockActionIterator is a mock of ActionIterator interface.
type MockActionIterator struct {
ctrl *gomock.Controller
recorder *MockActionIteratorMockRecorder
}
// MockActionIteratorMockRecorder is the mock recorder for MockActionIterator.
type MockActionIteratorMockRecorder struct {
mock *MockActionIterator
}
// NewMockActionIterator creates a new mock instance.
func NewMockActionIterator(ctrl *gomock.Controller) *MockActionIterator {
mock := &MockActionIterator{ctrl: ctrl}
mock.recorder = &MockActionIteratorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockActionIterator) EXPECT() *MockActionIteratorMockRecorder {
return m.recorder
}
// Next mocks base method.
func (m *MockActionIterator) Next() (action.SealedEnvelope, bool) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Next")
ret0, _ := ret[0].(action.SealedEnvelope)
ret1, _ := ret[1].(bool)
return ret0, ret1
}
// Next indicates an expected call of Next.
func (mr *MockActionIteratorMockRecorder) Next() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockActionIterator)(nil).Next))
}
// PopAccount mocks base method.
func (m *MockActionIterator) PopAccount() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "PopAccount")
}
// PopAccount indicates an expected call of PopAccount.
func (mr *MockActionIteratorMockRecorder) PopAccount() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PopAccount", reflect.TypeOf((*MockActionIterator)(nil).PopAccount))
}