Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockMessageManager
- func (m *MockMessageManager) DeleteMessage(arg0, arg1 string) error
- func (m *MockMessageManager) EXPECT() *MockMessageManagerMockRecorder
- func (m *MockMessageManager) GetMessages() ([]*messages.MessageInfo, error)
- func (m *MockMessageManager) SaveMessage(arg0 *messages.MessageInfo) error
- func (m *MockMessageManager) SaveMessageEvent(arg0 *messages.MessageEvent) error
- type MockMessageManagerMockRecorder
- func (mr *MockMessageManagerMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageManagerMockRecorder) GetMessages() *gomock.Call
- func (mr *MockMessageManagerMockRecorder) SaveMessage(arg0 interface{}) *gomock.Call
- func (mr *MockMessageManagerMockRecorder) SaveMessageEvent(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessageManager ¶
type MockMessageManager struct {
// contains filtered or unexported fields
}
MockMessageManager is a mock of MessageManager interface.
func NewMockMessageManager ¶
func NewMockMessageManager(ctrl *gomock.Controller) *MockMessageManager
NewMockMessageManager creates a new mock instance.
func (*MockMessageManager) DeleteMessage ¶
func (m *MockMessageManager) DeleteMessage(arg0, arg1 string) error
DeleteMessage mocks base method.
func (*MockMessageManager) EXPECT ¶
func (m *MockMessageManager) EXPECT() *MockMessageManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageManager) GetMessages ¶
func (m *MockMessageManager) GetMessages() ([]*messages.MessageInfo, error)
GetMessages mocks base method.
func (*MockMessageManager) SaveMessage ¶
func (m *MockMessageManager) SaveMessage(arg0 *messages.MessageInfo) error
SaveMessage mocks base method.
func (*MockMessageManager) SaveMessageEvent ¶
func (m *MockMessageManager) SaveMessageEvent(arg0 *messages.MessageEvent) error
SaveMessageEvent mocks base method.
type MockMessageManagerMockRecorder ¶
type MockMessageManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageManagerMockRecorder is the mock recorder for MockMessageManager.
func (*MockMessageManagerMockRecorder) DeleteMessage ¶
func (mr *MockMessageManagerMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
DeleteMessage indicates an expected call of DeleteMessage.
func (*MockMessageManagerMockRecorder) GetMessages ¶
func (mr *MockMessageManagerMockRecorder) GetMessages() *gomock.Call
GetMessages indicates an expected call of GetMessages.
func (*MockMessageManagerMockRecorder) SaveMessage ¶
func (mr *MockMessageManagerMockRecorder) SaveMessage(arg0 interface{}) *gomock.Call
SaveMessage indicates an expected call of SaveMessage.
func (*MockMessageManagerMockRecorder) SaveMessageEvent ¶
func (mr *MockMessageManagerMockRecorder) SaveMessageEvent(arg0 interface{}) *gomock.Call
SaveMessageEvent indicates an expected call of SaveMessageEvent.