Documentation ¶
Overview ¶
Package mock_eventsourcing is a generated GoMock package.
Package mock_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 ¶
type MockAggregateStore struct {
// contains filtered or unexported fields
}
MockAggregateStore is a mock of AggregateStore interface.
func NewMockAggregateStore ¶
func NewMockAggregateStore(ctrl *gomock.Controller) *MockAggregateStore
NewMockAggregateStore creates a new mock instance.
func (*MockAggregateStore) All ¶
func (m *MockAggregateStore) All(arg0 context.Context, arg1 eventsourcing.AggregateType) ([]eventsourcing.Aggregate, error)
All mocks base method.
func (*MockAggregateStore) EXPECT ¶
func (m *MockAggregateStore) EXPECT() *MockAggregateStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAggregateStore) Get ¶
func (m *MockAggregateStore) Get(arg0 context.Context, arg1 eventsourcing.AggregateType, arg2 uuid.UUID) (eventsourcing.Aggregate, error)
Get mocks base method.
func (*MockAggregateStore) Update ¶
func (m *MockAggregateStore) Update(arg0 context.Context, arg1 eventsourcing.Aggregate) error
Update mocks base method.
type MockAggregateStoreMockRecorder ¶
type MockAggregateStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAggregateStoreMockRecorder is the mock recorder for MockAggregateStore.
func (*MockAggregateStoreMockRecorder) All ¶
func (mr *MockAggregateStoreMockRecorder) All(arg0, arg1 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockAggregateStoreMockRecorder) Get ¶
func (mr *MockAggregateStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAggregateStoreMockRecorder) Update ¶
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.