mock

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMessage

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

MockMessage is a mock of Message interface

func NewMockMessage

func NewMockMessage(ctrl *gomock.Controller) *MockMessage

NewMockMessage creates a new mock instance

func (*MockMessage) EXPECT

func (m *MockMessage) EXPECT() *MockMessageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMessage) GetContent

func (m *MockMessage) GetContent() string

GetContent mocks base method

type MockMessageMockRecorder

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

MockMessageMockRecorder is the mock recorder for MockMessage

func (*MockMessageMockRecorder) GetContent

func (mr *MockMessageMockRecorder) GetContent() *gomock.Call

GetContent indicates an expected call of GetContent

type MockNotificationChannel

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

MockNotificationChannel is a mock of NotificationChannel interface

func NewMockNotificationChannel

func NewMockNotificationChannel(ctrl *gomock.Controller) *MockNotificationChannel

NewMockNotificationChannel creates a new mock instance

func (*MockNotificationChannel) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockNotificationChannel) HandleMessage

func (m *MockNotificationChannel) HandleMessage(arg0 channels.Message) error

HandleMessage mocks base method

type MockNotificationChannelMockRecorder

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

MockNotificationChannelMockRecorder is the mock recorder for MockNotificationChannel

func (*MockNotificationChannelMockRecorder) HandleMessage

func (mr *MockNotificationChannelMockRecorder) HandleMessage(arg0 interface{}) *gomock.Call

HandleMessage indicates an expected call of HandleMessage

Jump to

Keyboard shortcuts

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