/
aggregate_another.go
62 lines (51 loc) · 1.76 KB
/
aggregate_another.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: github.com/hellofresh/goengine/aggregate (interfaces: Root)
// Package aggregate is a generated GoMock package.
package aggregate
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
aggregate "github.com/hellofresh/goengine/aggregate"
)
// AnotherRoot is a mock of Root interface
type AnotherRoot struct {
aggregate.BaseRoot
ctrl *gomock.Controller
recorder *AnotherRootMockRecorder
}
// AnotherRootMockRecorder is the mock recorder for AnotherRoot
type AnotherRootMockRecorder struct {
mock *AnotherRoot
}
// NewAnotherRoot creates a new mock instance
func NewAnotherRoot(ctrl *gomock.Controller) *AnotherRoot {
mock := &AnotherRoot{ctrl: ctrl}
mock.recorder = &AnotherRootMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *AnotherRoot) EXPECT() *AnotherRootMockRecorder {
return m.recorder
}
// AggregateID mocks base method
func (m *AnotherRoot) AggregateID() aggregate.ID {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AggregateID")
ret0, _ := ret[0].(aggregate.ID)
return ret0
}
// AggregateID indicates an expected call of AggregateID
func (mr *AnotherRootMockRecorder) AggregateID() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AggregateID", reflect.TypeOf((*AnotherRoot)(nil).AggregateID))
}
// Apply mocks base method
func (m *AnotherRoot) Apply(arg0 *aggregate.Changed) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Apply", arg0)
}
// Apply indicates an expected call of Apply
func (mr *AnotherRootMockRecorder) Apply(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*AnotherRoot)(nil).Apply), arg0)
}