-
Notifications
You must be signed in to change notification settings - Fork 0
/
entity_mock.go
77 lines (64 loc) · 1.99 KB
/
entity_mock.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
// Code generated by MockGen. DO NOT EDIT.
// Source: entity.go
// Package entity is a generated GoMock package.
package entity
import (
reflect "reflect"
time "time"
gomock "github.com/golang/mock/gomock"
)
// MockEntity is a mock of Entity interface.
type MockEntity struct {
ctrl *gomock.Controller
recorder *MockEntityMockRecorder
}
// MockEntityMockRecorder is the mock recorder for MockEntity.
type MockEntityMockRecorder struct {
mock *MockEntity
}
// NewMockEntity creates a new mock instance.
func NewMockEntity(ctrl *gomock.Controller) *MockEntity {
mock := &MockEntity{ctrl: ctrl}
mock.recorder = &MockEntityMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockEntity) EXPECT() *MockEntityMockRecorder {
return m.recorder
}
// NewID mocks base method.
func (m *MockEntity) NewID() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewID")
ret0, _ := ret[0].(string)
return ret0
}
// NewID indicates an expected call of NewID.
func (mr *MockEntityMockRecorder) NewID() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewID", reflect.TypeOf((*MockEntity)(nil).NewID))
}
// Now mocks base method.
func (m *MockEntity) Now() time.Time {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Now")
ret0, _ := ret[0].(time.Time)
return ret0
}
// Now indicates an expected call of Now.
func (mr *MockEntityMockRecorder) Now() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Now", reflect.TypeOf((*MockEntity)(nil).Now))
}
// NowMillis mocks base method.
func (m *MockEntity) NowMillis() int64 {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NowMillis")
ret0, _ := ret[0].(int64)
return ret0
}
// NowMillis indicates an expected call of NowMillis.
func (mr *MockEntityMockRecorder) NowMillis() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NowMillis", reflect.TypeOf((*MockEntity)(nil).NowMillis))
}