Documentation
¶
Overview ¶
Package mock_command is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBus ¶
type MockBus struct {
// contains filtered or unexported fields
}
MockBus is a mock of Bus interface.
func NewMockBus ¶
func NewMockBus(ctrl *gomock.Controller) *MockBus
NewMockBus creates a new mock instance.
func (*MockBus) Dispatch ¶
func (m *MockBus) Dispatch(arg0 context.Context, arg1 command.Command, arg2 ...command.DispatchOption) error
Dispatch mocks base method.
func (*MockBus) EXPECT ¶
func (m *MockBus) EXPECT() *MockBusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBusMockRecorder ¶
type MockBusMockRecorder struct {
// contains filtered or unexported fields
}
MockBusMockRecorder is the mock recorder for MockBus.
func (*MockBusMockRecorder) Dispatch ¶
func (mr *MockBusMockRecorder) Dispatch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Dispatch indicates an expected call of Dispatch.
func (*MockBusMockRecorder) Subscribe ¶
func (mr *MockBusMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface.
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance.
func (*MockCommand) Aggregate ¶
func (m *MockCommand) Aggregate() (uuid.UUID, string)
Aggregate mocks base method.
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommand) Payload ¶
func (m *MockCommand) Payload() interface{}
Payload mocks base method.
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand.
func (*MockCommandMockRecorder) Aggregate ¶
func (mr *MockCommandMockRecorder) Aggregate() *gomock.Call
Aggregate indicates an expected call of Aggregate.
func (*MockCommandMockRecorder) ID ¶
func (mr *MockCommandMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockCommandMockRecorder) Name ¶
func (mr *MockCommandMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCommandMockRecorder) Payload ¶
func (mr *MockCommandMockRecorder) Payload() *gomock.Call
Payload indicates an expected call of Payload.