mocks

package
v0.0.0-...-d26b62e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandHandler

type CommandHandler struct {
	mock.Mock
}

CommandHandler is an autogenerated mock type for the CommandHandler type

func NewCommandHandler

func NewCommandHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *CommandHandler

NewCommandHandler creates a new instance of CommandHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CommandHandler) Handle

func (_m *CommandHandler) Handle(_a0 *amqp.Delivery)

Handle provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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