-
Notifications
You must be signed in to change notification settings - Fork 175
/
consumer.go
38 lines (30 loc) · 1.11 KB
/
consumer.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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mock
import (
flow "github.com/onflow/flow-go/model/flow"
mock "github.com/stretchr/testify/mock"
)
// Consumer is an autogenerated mock type for the Consumer type
type Consumer struct {
mock.Mock
}
// BlockFinalized provides a mock function with given fields: block
func (_m *Consumer) BlockFinalized(block *flow.Header) {
_m.Called(block)
}
// BlockProcessable provides a mock function with given fields: block
func (_m *Consumer) BlockProcessable(block *flow.Header) {
_m.Called(block)
}
// EpochCommittedPhaseStarted provides a mock function with given fields: epoch, first
func (_m *Consumer) EpochCommittedPhaseStarted(epoch uint64, first *flow.Header) {
_m.Called(epoch, first)
}
// EpochSetupPhaseStarted provides a mock function with given fields: epoch, first
func (_m *Consumer) EpochSetupPhaseStarted(epoch uint64, first *flow.Header) {
_m.Called(epoch, first)
}
// EpochTransition provides a mock function with given fields: newEpoch, first
func (_m *Consumer) EpochTransition(newEpoch uint64, first *flow.Header) {
_m.Called(newEpoch, first)
}