mock_email

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_email is a generated GoMock package.

Package mock_email is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) GenerateBody

func (m *MockInterface) GenerateBody() email.TemplateInterface

GenerateBody mocks base method.

func (*MockInterface) SendEmail

func (m *MockInterface) SendEmail(ctx context.Context, params email.SendEmailParams) error

SendEmail mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) GenerateBody

func (mr *MockInterfaceMockRecorder) GenerateBody() *gomock.Call

GenerateBody indicates an expected call of GenerateBody.

func (*MockInterfaceMockRecorder) SendEmail

func (mr *MockInterfaceMockRecorder) SendEmail(ctx, params any) *gomock.Call

SendEmail indicates an expected call of SendEmail.

type MockTemplateInterface

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

MockTemplateInterface is a mock of TemplateInterface interface.

func NewMockTemplateInterface

func NewMockTemplateInterface(ctrl *gomock.Controller) *MockTemplateInterface

NewMockTemplateInterface creates a new mock instance.

func (*MockTemplateInterface) EXPECT

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

func (*MockTemplateInterface) FromHTML

FromHTML mocks base method.

func (*MockTemplateInterface) FromMJML

FromMJML mocks base method.

type MockTemplateInterfaceMockRecorder

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

MockTemplateInterfaceMockRecorder is the mock recorder for MockTemplateInterface.

func (*MockTemplateInterfaceMockRecorder) FromHTML

func (mr *MockTemplateInterfaceMockRecorder) FromHTML(params any) *gomock.Call

FromHTML indicates an expected call of FromHTML.

func (*MockTemplateInterfaceMockRecorder) FromMJML

func (mr *MockTemplateInterfaceMockRecorder) FromMJML(ctx, params any) *gomock.Call

FromMJML indicates an expected call of FromMJML.

Jump to

Keyboard shortcuts

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