Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockEventstore
- func (m *MockEventstore) EXPECT() *MockEventstoreMockRecorder
- func (m *MockEventstore) FilterEvents(arg0 context.Context, arg1 *models.SearchQuery) ([]*models.Event, error)
- func (m *MockEventstore) Health(arg0 context.Context) error
- func (m *MockEventstore) Subscribe(arg0 ...models.AggregateType) *v1.Subscription
- type MockEventstoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventstore ¶
type MockEventstore struct {
// contains filtered or unexported fields
}
MockEventstore is a mock of Eventstore interface.
func NewMockEventstore ¶
func NewMockEventstore(ctrl *gomock.Controller) *MockEventstore
NewMockEventstore creates a new mock instance.
func (*MockEventstore) EXPECT ¶
func (m *MockEventstore) EXPECT() *MockEventstoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventstore) FilterEvents ¶
func (m *MockEventstore) FilterEvents(arg0 context.Context, arg1 *models.SearchQuery) ([]*models.Event, error)
FilterEvents mocks base method.
func (*MockEventstore) Health ¶
func (m *MockEventstore) Health(arg0 context.Context) error
Health mocks base method.
func (*MockEventstore) Subscribe ¶
func (m *MockEventstore) Subscribe(arg0 ...models.AggregateType) *v1.Subscription
Subscribe mocks base method.
type MockEventstoreMockRecorder ¶
type MockEventstoreMockRecorder struct {
// contains filtered or unexported fields
}
MockEventstoreMockRecorder is the mock recorder for MockEventstore.
func (*MockEventstoreMockRecorder) FilterEvents ¶
func (mr *MockEventstoreMockRecorder) FilterEvents(arg0, arg1 interface{}) *gomock.Call
FilterEvents indicates an expected call of FilterEvents.
func (*MockEventstoreMockRecorder) Health ¶
func (mr *MockEventstoreMockRecorder) Health(arg0 interface{}) *gomock.Call
Health indicates an expected call of Health.
func (*MockEventstoreMockRecorder) Subscribe ¶
func (mr *MockEventstoreMockRecorder) Subscribe(arg0 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
Click to show internal directories.
Click to hide internal directories.