mocks

package
v0.0.0-...-b0339d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_notification is a generated GoMock package.

Index

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

func (*MockCommand) NotificationHandler

func (m *MockCommand) NotificationHandler(eventType, body string) (int, error)

NotificationHandler mocks base method

func (*MockCommand) Register

func (m *MockCommand) Register(body string, query map[string][]string) (int, map[string]interface{}, error)

Register mocks base method

func (*MockCommand) UnRegister

func (m *MockCommand) UnRegister(eventId string) (int, error)

UnRegister mocks base method

func (*MockCommand) UpdateSubscriber

func (m *MockCommand) UpdateSubscriber()

UpdateSubscriber mocks base method

type MockCommandMockRecorder

type MockCommandMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) NotificationHandler

func (mr *MockCommandMockRecorder) NotificationHandler(eventType, body interface{}) *gomock.Call

NotificationHandler indicates an expected call of NotificationHandler

func (*MockCommandMockRecorder) Register

func (mr *MockCommandMockRecorder) Register(body, query interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockCommandMockRecorder) UnRegister

func (mr *MockCommandMockRecorder) UnRegister(eventId interface{}) *gomock.Call

UnRegister indicates an expected call of UnRegister

func (*MockCommandMockRecorder) UpdateSubscriber

func (mr *MockCommandMockRecorder) UpdateSubscriber() *gomock.Call

UpdateSubscriber indicates an expected call of UpdateSubscriber

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL