// Code generated by mockery v1.0.0. DO NOT EDIT.

package server

import (
	context "context"

	mock "github.com/stretchr/testify/mock"

	models "github.com/percona/pmm-managed/models"
)

// mockEmailer is an autogenerated mock type for the emailer type
type mockEmailer struct {
	mock.Mock
}

// Send provides a mock function with given fields: ctx, settings, emailTo
func (_m *mockEmailer) Send(ctx context.Context, settings *models.EmailAlertingSettings, emailTo string) error {
	ret := _m.Called(ctx, settings, emailTo)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, *models.EmailAlertingSettings, string) error); ok {
		r0 = rf(ctx, settings, emailTo)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
