Documentation ¶
Overview ¶
Package mock_subscriber is a generated GoMock package.
Index ¶
- type MockCommand
- func (m *MockCommand) AddSubscriber(id, eventType, url string, status, eventId []string, ...) error
- func (m *MockCommand) DeleteSubscriber(id string) error
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) GetSubscriber(id string) (map[string]interface{}, error)
- func (m *MockCommand) GetSubscribers() ([]map[string]interface{}, error)
- type MockCommandMockRecorder
- func (mr *MockCommandMockRecorder) AddSubscriber(id, eventType, url, status, eventId, queries interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) DeleteSubscriber(id interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetSubscriber(id interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetSubscribers() *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) AddSubscriber ¶
func (m *MockCommand) AddSubscriber(id, eventType, url string, status, eventId []string, queries map[string][]string) error
AddSubscriber mocks base method
func (*MockCommand) DeleteSubscriber ¶
func (m *MockCommand) DeleteSubscriber(id string) error
DeleteSubscriber 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) GetSubscriber ¶
func (m *MockCommand) GetSubscriber(id string) (map[string]interface{}, error)
GetSubscriber mocks base method
func (*MockCommand) GetSubscribers ¶
func (m *MockCommand) GetSubscribers() ([]map[string]interface{}, error)
GetSubscribers mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) AddSubscriber ¶
func (mr *MockCommandMockRecorder) AddSubscriber(id, eventType, url, status, eventId, queries interface{}) *gomock.Call
AddSubscriber indicates an expected call of AddSubscriber
func (*MockCommandMockRecorder) DeleteSubscriber ¶
func (mr *MockCommandMockRecorder) DeleteSubscriber(id interface{}) *gomock.Call
DeleteSubscriber indicates an expected call of DeleteSubscriber
func (*MockCommandMockRecorder) GetSubscriber ¶
func (mr *MockCommandMockRecorder) GetSubscriber(id interface{}) *gomock.Call
GetSubscriber indicates an expected call of GetSubscriber
func (*MockCommandMockRecorder) GetSubscribers ¶
func (mr *MockCommandMockRecorder) GetSubscribers() *gomock.Call
GetSubscribers indicates an expected call of GetSubscribers