Documentation ¶
Overview ¶
Package eventsourcing is a generated GoMock package.
Package eventsourcing is a generated GoMock package.
Index ¶
- type MockAggregateStore
- func (m *MockAggregateStore) All(arg0 context.Context, arg1 eventsourcing.AggregateType) ([]eventsourcing.Aggregate, error)
- func (m *MockAggregateStore) EXPECT() *MockAggregateStoreMockRecorder
- func (m *MockAggregateStore) Get(arg0 context.Context, arg1 eventsourcing.AggregateType, arg2 uuid.UUID) (eventsourcing.Aggregate, error)
- func (m *MockAggregateStore) Update(arg0 context.Context, arg1 eventsourcing.Aggregate) error
- type MockAggregateStoreMockRecorder
- type MockEventHandler
- type MockEventHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAggregateStore ¶ added in v0.3.0
type MockAggregateStore struct {
// contains filtered or unexported fields
}
MockAggregateStore is a mock of AggregateStore interface.
func NewMockAggregateStore ¶ added in v0.3.0
func NewMockAggregateStore(ctrl *gomock.Controller) *MockAggregateStore
NewMockAggregateStore creates a new mock instance.
func (*MockAggregateStore) All ¶ added in v0.3.0
func (m *MockAggregateStore) All(arg0 context.Context, arg1 eventsourcing.AggregateType) ([]eventsourcing.Aggregate, error)
All mocks base method.
func (*MockAggregateStore) EXPECT ¶ added in v0.3.0
func (m *MockAggregateStore) EXPECT() *MockAggregateStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAggregateStore) Get ¶ added in v0.3.0
func (m *MockAggregateStore) Get(arg0 context.Context, arg1 eventsourcing.AggregateType, arg2 uuid.UUID) (eventsourcing.Aggregate, error)
Get mocks base method.
func (*MockAggregateStore) Update ¶ added in v0.3.0
func (m *MockAggregateStore) Update(arg0 context.Context, arg1 eventsourcing.Aggregate) error
Update mocks base method.
type MockAggregateStoreMockRecorder ¶ added in v0.3.0
type MockAggregateStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAggregateStoreMockRecorder is the mock recorder for MockAggregateStore.
func (*MockAggregateStoreMockRecorder) All ¶ added in v0.3.0
func (mr *MockAggregateStoreMockRecorder) All(arg0, arg1 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockAggregateStoreMockRecorder) Get ¶ added in v0.3.0
func (mr *MockAggregateStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAggregateStoreMockRecorder) Update ¶ added in v0.3.0
func (mr *MockAggregateStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockEventHandler ¶
type MockEventHandler struct {
// contains filtered or unexported fields
}
MockEventHandler is a mock of EventHandler interface.
func NewMockEventHandler ¶
func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler
NewMockEventHandler creates a new mock instance.
func (*MockEventHandler) EXPECT ¶
func (m *MockEventHandler) EXPECT() *MockEventHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventHandler) HandleEvent ¶
func (m *MockEventHandler) HandleEvent(arg0 context.Context, arg1 eventsourcing.Event) error
HandleEvent mocks base method.
type MockEventHandlerMockRecorder ¶
type MockEventHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventHandlerMockRecorder is the mock recorder for MockEventHandler.
func (*MockEventHandlerMockRecorder) HandleEvent ¶
func (mr *MockEventHandlerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent.