mocks

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHandler

type MessageHandler struct {
	mock.Mock
}

MessageHandler is an autogenerated mock type for the MessageHandler type

func NewMessageHandler

func NewMessageHandler(t mockConstructorTestingTNewMessageHandler) *MessageHandler

NewMessageHandler creates a new instance of MessageHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MessageHandler) HandleMessage

func (_m *MessageHandler) HandleMessage(msg []byte)

HandleMessage provides a mock function with given fields: msg

type MessageHandlerFunc

type MessageHandlerFunc struct {
	mock.Mock
}

MessageHandlerFunc is an autogenerated mock type for the MessageHandlerFunc type

func NewMessageHandlerFunc

func NewMessageHandlerFunc(t mockConstructorTestingTNewMessageHandlerFunc) *MessageHandlerFunc

NewMessageHandlerFunc creates a new instance of MessageHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MessageHandlerFunc) Execute

func (_m *MessageHandlerFunc) Execute(msg []byte)

Execute provides a mock function with given fields: msg

Jump to

Keyboard shortcuts

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