mocks

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender

func NewSender(t mockConstructorTestingTNewSender) *Sender

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

func (*Sender) Send

func (_m *Sender) Send(title string, message string) error

Send provides a mock function with given fields: title, message

Jump to

Keyboard shortcuts

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