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 ¶
func (m *MockEmailReceiverRepository) EXPECT() *MockEmailReceiverRepositoryMockRecorder
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
Click to show internal directories.
Click to hide internal directories.