mocks

package
v0.0.0-...-bc01b9c Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationSender

type NotificationSender struct {
	mock.Mock
}

NotificationSender is an autogenerated mock type for the NotificationSender type

func NewNotificationSender

func NewNotificationSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *NotificationSender

NewNotificationSender creates a new instance of NotificationSender. 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 (*NotificationSender) SendNotification

func (_m *NotificationSender) SendNotification(appCtx appcontext.AppContext, notification notifications.Notification) error

SendNotification provides a mock function with given fields: appCtx, notification

Jump to

Keyboard shortcuts

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