mocks

package
v0.0.0-...-13e9ea1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMail

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

MockMail is a mock of Mail interface.

func NewMockMail

func NewMockMail(ctrl *gomock.Controller) *MockMail

NewMockMail creates a new mock instance.

func (*MockMail) Delete

func (m *MockMail) Delete(id int) error

Delete mocks base method.

func (*MockMail) DeleteAllOfRecipient

func (m *MockMail) DeleteAllOfRecipient(email string) error

DeleteAllOfRecipient mocks base method.

func (*MockMail) EXPECT

func (m *MockMail) EXPECT() *MockMailMockRecorder

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

func (*MockMail) GetByRecipient

func (m *MockMail) GetByRecipient(email string) ([]dto.Mail, error)

GetByRecipient mocks base method.

func (*MockMail) Save

func (m *MockMail) Save(mail dto.Mail) error

Save mocks base method.

type MockMailMockRecorder

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

MockMailMockRecorder is the mock recorder for MockMail.

func (*MockMailMockRecorder) Delete

func (mr *MockMailMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockMailMockRecorder) DeleteAllOfRecipient

func (mr *MockMailMockRecorder) DeleteAllOfRecipient(email interface{}) *gomock.Call

DeleteAllOfRecipient indicates an expected call of DeleteAllOfRecipient.

func (*MockMailMockRecorder) GetByRecipient

func (mr *MockMailMockRecorder) GetByRecipient(email interface{}) *gomock.Call

GetByRecipient indicates an expected call of GetByRecipient.

func (*MockMailMockRecorder) Save

func (mr *MockMailMockRecorder) Save(mail interface{}) *gomock.Call

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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