forked from yandex/pandora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schedule.go
42 lines (34 loc) · 813 Bytes
/
schedule.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
// Code generated by mockery v1.0.0
package coremock
import "github.com/stretchr/testify/mock"
import "time"
// Schedule is an autogenerated mock type for the Schedule type
type Schedule struct {
mock.Mock
}
// Next provides a mock function with given fields:
func (_m *Schedule) Next() (time.Time, bool) {
ret := _m.Called()
if len(ret) == 1 {
if rf, ok := ret.Get(0).(func() (time.Time, bool)); ok {
return rf()
}
}
var r0 time.Time
if rf, ok := ret.Get(0).(func() time.Time); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(time.Time)
}
var r1 bool
if rf, ok := ret.Get(1).(func() bool); ok {
r1 = rf()
} else {
r1 = ret.Get(1).(bool)
}
return r0, r1
}
// Run provides a mock function with given fields: startAt
func (_m *Schedule) Start(startAt time.Time) {
_m.Called(startAt)
}