mocks

package
v0.0.0-...-fab9456 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAlertSender

type IAlertSender struct {
	mock.Mock
}

IAlertSender is an autogenerated mock type for the IAlertSender type

func NewIAlertSender

func NewIAlertSender(t testing.TB) *IAlertSender

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

func (*IAlertSender) Send

func (_m *IAlertSender) Send(message alertcenter.Message) error

Send provides a mock function with given fields: message

Jump to

Keyboard shortcuts

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