mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 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 Mail

type Mail struct {
	mock.Mock
}

Mail is an autogenerated mock type for the Mail type

func NewMail

func NewMail(t mockConstructorTestingTNewMail) *Mail

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

func (*Mail) Attach

func (_m *Mail) Attach(files []string) mail.Mail

Attach provides a mock function with given fields: files

func (*Mail) Bcc

func (_m *Mail) Bcc(addresses []string) mail.Mail

Bcc provides a mock function with given fields: addresses

func (*Mail) Cc

func (_m *Mail) Cc(addresses []string) mail.Mail

Cc provides a mock function with given fields: addresses

func (*Mail) Content

func (_m *Mail) Content(content mail.Content) mail.Mail

Content provides a mock function with given fields: content

func (*Mail) From

func (_m *Mail) From(address mail.From) mail.Mail

From provides a mock function with given fields: address

func (*Mail) Queue

func (_m *Mail) Queue(queue *mail.Queue) error

Queue provides a mock function with given fields: queue

func (*Mail) Send

func (_m *Mail) Send() error

Send provides a mock function with given fields:

func (*Mail) To

func (_m *Mail) To(addresses []string) mail.Mail

To provides a mock function with given fields: addresses

Jump to

Keyboard shortcuts

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