mock_email

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_notifier is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmailReceiverRepository

type MockEmailReceiverRepository struct {
	// contains filtered or unexported fields
}

MockEmailReceiverRepository is a mock of EmailReceiverRepository interface.

func NewMockEmailReceiverRepository

func NewMockEmailReceiverRepository(ctrl *gomock.Controller) *MockEmailReceiverRepository

NewMockEmailReceiverRepository creates a new mock instance.

func (*MockEmailReceiverRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEmailReceiverRepository) GetEmailReceivers

func (m *MockEmailReceiverRepository) GetEmailReceivers(ctx context.Context) ([]notifier.EmailReceiver, error)

GetReceivers mocks base method.

type MockEmailReceiverRepositoryMockRecorder

type MockEmailReceiverRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockEmailReceiverRepositoryMockRecorder is the mock recorder for MockEmailReceiverRepository.

func (*MockEmailReceiverRepositoryMockRecorder) GetReceivers

func (mr *MockEmailReceiverRepositoryMockRecorder) GetReceivers(ctx interface{}) *gomock.Call

GetReceivers indicates an expected call of GetReceivers.

type MockEmailSender

type MockEmailSender struct {
	// contains filtered or unexported fields
}

func NewMockEmailSender

func NewMockEmailSender(t *testing.T, msgCount int, returnErr error) MockEmailSender

func (MockEmailSender) DialAndSend

func (m MockEmailSender) DialAndSend(message ...*gomail.Message) error

Jump to

Keyboard shortcuts

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