Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockCommand
- type MockCommandBase
- type MockCommandBaseMockRecorder
- type MockCommandExecutor
- type MockCommandExecutorMockRecorder
- type MockCommandMockRecorder
- type MockCommandWithValue
- type MockCommandWithValueMockRecorder
- type MockQuery
- type MockQueryExecutor
- type MockQueryExecutorMockRecorder
- type MockQueryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCommandBase ¶
type MockCommandBase struct {
// contains filtered or unexported fields
}
MockCommandBase is a mock of CommandBase interface.
func NewMockCommandBase ¶
func NewMockCommandBase(ctrl *gomock.Controller) *MockCommandBase
NewMockCommandBase creates a new mock instance.
func (*MockCommandBase) EXPECT ¶
func (m *MockCommandBase) EXPECT() *MockCommandBaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandBase) Validate ¶
func (m *MockCommandBase) Validate() error
Validate mocks base method.
type MockCommandBaseMockRecorder ¶
type MockCommandBaseMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandBaseMockRecorder is the mock recorder for MockCommandBase.
func (*MockCommandBaseMockRecorder) Validate ¶
func (mr *MockCommandBaseMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.
type MockCommandExecutor ¶
type MockCommandExecutor struct {
// contains filtered or unexported fields
}
MockCommandExecutor is a mock of CommandExecutor interface.
func NewMockCommandExecutor ¶
func NewMockCommandExecutor(ctrl *gomock.Controller) *MockCommandExecutor
NewMockCommandExecutor creates a new mock instance.
func (*MockCommandExecutor) EXPECT ¶
func (m *MockCommandExecutor) EXPECT() *MockCommandExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandExecutor) Execute ¶
func (m *MockCommandExecutor) Execute(ctx context.Context, cmd cqrs.CommandBase) *cqrs.ExecuteResult
Execute mocks base method.
type MockCommandExecutorMockRecorder ¶
type MockCommandExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandExecutorMockRecorder is the mock recorder for MockCommandExecutor.
func (*MockCommandExecutorMockRecorder) Execute ¶
func (mr *MockCommandExecutorMockRecorder) Execute(ctx, cmd interface{}) *gomock.Call
Execute indicates an expected call of Execute.
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand.
func (*MockCommandMockRecorder) Execute ¶
func (mr *MockCommandMockRecorder) Execute(ctx interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockCommandMockRecorder) Validate ¶
func (mr *MockCommandMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.
type MockCommandWithValue ¶
type MockCommandWithValue struct {
// contains filtered or unexported fields
}
MockCommandWithValue is a mock of CommandWithValue interface.
func NewMockCommandWithValue ¶
func NewMockCommandWithValue(ctrl *gomock.Controller) *MockCommandWithValue
NewMockCommandWithValue creates a new mock instance.
func (*MockCommandWithValue) EXPECT ¶
func (m *MockCommandWithValue) EXPECT() *MockCommandWithValueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandWithValue) Execute ¶
func (m *MockCommandWithValue) Execute(ctx context.Context) (interface{}, error)
Execute mocks base method.
func (*MockCommandWithValue) Validate ¶
func (m *MockCommandWithValue) Validate() error
Validate mocks base method.
type MockCommandWithValueMockRecorder ¶
type MockCommandWithValueMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandWithValueMockRecorder is the mock recorder for MockCommandWithValue.
func (*MockCommandWithValueMockRecorder) Execute ¶
func (mr *MockCommandWithValueMockRecorder) Execute(ctx interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockCommandWithValueMockRecorder) Validate ¶
func (mr *MockCommandWithValueMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.
type MockQuery ¶
type MockQuery struct {
// contains filtered or unexported fields
}
MockQuery is a mock of Query interface.
func NewMockQuery ¶
func NewMockQuery(ctrl *gomock.Controller) *MockQuery
NewMockQuery creates a new mock instance.
func (*MockQuery) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQueryExecutor ¶
type MockQueryExecutor struct {
// contains filtered or unexported fields
}
MockQueryExecutor is a mock of QueryExecutor interface.
func NewMockQueryExecutor ¶
func NewMockQueryExecutor(ctrl *gomock.Controller) *MockQueryExecutor
NewMockQueryExecutor creates a new mock instance.
func (*MockQueryExecutor) EXPECT ¶
func (m *MockQueryExecutor) EXPECT() *MockQueryExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryExecutor) Execute ¶
func (m *MockQueryExecutor) Execute(ctx context.Context, q cqrs.Query) *cqrs.ExecuteResult
Execute mocks base method.
type MockQueryExecutorMockRecorder ¶
type MockQueryExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryExecutorMockRecorder is the mock recorder for MockQueryExecutor.
func (*MockQueryExecutorMockRecorder) Execute ¶
func (mr *MockQueryExecutorMockRecorder) Execute(ctx, q interface{}) *gomock.Call
Execute indicates an expected call of Execute.
type MockQueryMockRecorder ¶
type MockQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryMockRecorder is the mock recorder for MockQuery.
func (*MockQueryMockRecorder) Execute ¶
func (mr *MockQueryMockRecorder) Execute(ctx interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockQueryMockRecorder) Validate ¶
func (mr *MockQueryMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.