-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
log_listener.go
46 lines (36 loc) · 1 KB
/
log_listener.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
// Code generated by mockery v2.2.1. DO NOT EDIT.
package mocks
import (
eth "github.com/smartcontractkit/chainlink/core/services/eth"
mock "github.com/stretchr/testify/mock"
models "github.com/smartcontractkit/chainlink/core/store/models"
)
// LogListener is an autogenerated mock type for the LogListener type
type LogListener struct {
mock.Mock
}
// HandleLog provides a mock function with given fields: lb, err
func (_m *LogListener) HandleLog(lb eth.LogBroadcast, err error) {
_m.Called(lb, err)
}
// JobID provides a mock function with given fields:
func (_m *LogListener) JobID() *models.ID {
ret := _m.Called()
var r0 *models.ID
if rf, ok := ret.Get(0).(func() *models.ID); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*models.ID)
}
}
return r0
}
// OnConnect provides a mock function with given fields:
func (_m *LogListener) OnConnect() {
_m.Called()
}
// OnDisconnect provides a mock function with given fields:
func (_m *LogListener) OnDisconnect() {
_m.Called()
}