mocks

package
v0.0.0-...-72e8f9a Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 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 Analyzer

type Analyzer struct {
	mock.Mock
}

Analyzer is an autogenerated mock type for the Analyzer type

func NewAnalyzer

func NewAnalyzer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Analyzer

NewAnalyzer creates a new instance of Analyzer. 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 (*Analyzer) IsInternshipRequest

func (_m *Analyzer) IsInternshipRequest(_a0 context.Context, _a1 entity.Message) (bool, error)

IsInternshipRequest provides a mock function with given fields: _a0, _a1

type Mail

type Mail struct {
	mock.Mock
}

Mail is an autogenerated mock type for the Mail type

func NewMail

func NewMail(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*Mail) CreateLabel

func (_m *Mail) CreateLabel(_a0 context.Context, _a1 string) (*entity.Label, error)

CreateLabel provides a mock function with given fields: _a0, _a1

func (*Mail) GetUnreadMsgs

func (_m *Mail) GetUnreadMsgs(ctx context.Context) <-chan entity.MessageWithError

GetUnreadMsgs provides a mock function with given fields: ctx

func (*Mail) LabelMsg

func (_m *Mail) LabelMsg(_a0 context.Context, _a1 entity.MessageForLabeler) error

LabelMsg provides a mock function with given fields: _a0, _a1

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender

func NewSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sender

NewSender creates a new instance of Sender. 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 (*Sender) Send

func (_m *Sender) Send(_a0 context.Context, _a1 entity.SummaryMessage) error

Send provides a mock function with given fields: _a0, _a1

type Summarizer

type Summarizer struct {
	mock.Mock
}

Summarizer is an autogenerated mock type for the Summarizer type

func NewSummarizer

func NewSummarizer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Summarizer

NewSummarizer creates a new instance of Summarizer. 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 (*Summarizer) GetMsgSummary

func (_m *Summarizer) GetMsgSummary(_a0 context.Context, _a1 entity.Message) (string, error)

GetMsgSummary provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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