Documentation
¶
Overview ¶
Package mock_node is a generated GoMock package.
Index ¶
- type MockCommand
- func (m *MockCommand) AddEvent(id, subscriberId string) error
- func (m *MockCommand) DeleteEvent(id string) error
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) GetEvent(id string) (map[string]interface{}, error)
- func (m *MockCommand) UnRegisterEvent(id, subscriberId string) error
- type MockCommandMockRecorder
- func (mr *MockCommandMockRecorder) AddEvent(id, subscriberId interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) DeleteEvent(id interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetEvent(id interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) UnRegisterEvent(id, subscriberId interface{}) *gomock.Call
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) AddEvent ¶
func (m *MockCommand) AddEvent(id, subscriberId string) error
AddEvent mocks base method
func (*MockCommand) DeleteEvent ¶
func (m *MockCommand) DeleteEvent(id string) error
DeleteEvent 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) GetEvent ¶
func (m *MockCommand) GetEvent(id string) (map[string]interface{}, error)
GetEvent mocks base method
func (*MockCommand) UnRegisterEvent ¶
func (m *MockCommand) UnRegisterEvent(id, subscriberId string) error
UnRegisterEvent mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) AddEvent ¶
func (mr *MockCommandMockRecorder) AddEvent(id, subscriberId interface{}) *gomock.Call
AddEvent indicates an expected call of AddEvent
func (*MockCommandMockRecorder) DeleteEvent ¶
func (mr *MockCommandMockRecorder) DeleteEvent(id interface{}) *gomock.Call
DeleteEvent indicates an expected call of DeleteEvent
func (*MockCommandMockRecorder) GetEvent ¶
func (mr *MockCommandMockRecorder) GetEvent(id interface{}) *gomock.Call
GetEvent indicates an expected call of GetEvent
func (*MockCommandMockRecorder) UnRegisterEvent ¶
func (mr *MockCommandMockRecorder) UnRegisterEvent(id, subscriberId interface{}) *gomock.Call
UnRegisterEvent indicates an expected call of UnRegisterEvent
Click to show internal directories.
Click to hide internal directories.