Documentation
¶
Index ¶
- type MockEmailService
- func (_m *MockEmailService) EXPECT() *MockEmailService_Expecter
- func (_mock *MockEmailService) SendAccountCreatedEmail(ctx context.Context, to string, username string, plainPassword string) error
- func (_mock *MockEmailService) SendAccountDeletedNotification(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendAccountLockoutEmail(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendDataExportNotificationEmail(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendEmailUpdateVerificationEmail(ctx context.Context, to string, username string, token string) error
- func (_mock *MockEmailService) SendPasswordResetEmail(ctx context.Context, to string, username string, token string) error
- func (_mock *MockEmailService) SendUserApprovedEmail(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendUserRejectedEmail(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendUserSoftDeletedEmail(ctx context.Context, to string, username string, reason string) error
- func (_mock *MockEmailService) SendUserSuspendedEmail(ctx context.Context, to string, username string, reason string) error
- func (_mock *MockEmailService) SendUserUnsuspendedEmail(ctx context.Context, to string, username string) error
- func (_mock *MockEmailService) SendVerificationEmail(ctx context.Context, to string, username string, token string) error
- type MockEmailService_Expecter
- func (_e *MockEmailService_Expecter) SendAccountCreatedEmail(ctx any, to any, username any, plainPassword any) *MockEmailService_SendAccountCreatedEmail_Call
- func (_e *MockEmailService_Expecter) SendAccountDeletedNotification(ctx any, to any, username any) *MockEmailService_SendAccountDeletedNotification_Call
- func (_e *MockEmailService_Expecter) SendAccountLockoutEmail(ctx any, to any, username any) *MockEmailService_SendAccountLockoutEmail_Call
- func (_e *MockEmailService_Expecter) SendDataExportNotificationEmail(ctx any, to any, username any) *MockEmailService_SendDataExportNotificationEmail_Call
- func (_e *MockEmailService_Expecter) SendEmailUpdateVerificationEmail(ctx any, to any, username any, token any) *MockEmailService_SendEmailUpdateVerificationEmail_Call
- func (_e *MockEmailService_Expecter) SendPasswordResetEmail(ctx any, to any, username any, token any) *MockEmailService_SendPasswordResetEmail_Call
- func (_e *MockEmailService_Expecter) SendUserApprovedEmail(ctx any, to any, username any) *MockEmailService_SendUserApprovedEmail_Call
- func (_e *MockEmailService_Expecter) SendUserRejectedEmail(ctx any, to any, username any) *MockEmailService_SendUserRejectedEmail_Call
- func (_e *MockEmailService_Expecter) SendUserSoftDeletedEmail(ctx any, to any, username any, reason any) *MockEmailService_SendUserSoftDeletedEmail_Call
- func (_e *MockEmailService_Expecter) SendUserSuspendedEmail(ctx any, to any, username any, reason any) *MockEmailService_SendUserSuspendedEmail_Call
- func (_e *MockEmailService_Expecter) SendUserUnsuspendedEmail(ctx any, to any, username any) *MockEmailService_SendUserUnsuspendedEmail_Call
- func (_e *MockEmailService_Expecter) SendVerificationEmail(ctx any, to any, username any, token any) *MockEmailService_SendVerificationEmail_Call
- type MockEmailService_SendAccountCreatedEmail_Call
- func (_c *MockEmailService_SendAccountCreatedEmail_Call) Return(err error) *MockEmailService_SendAccountCreatedEmail_Call
- func (_c *MockEmailService_SendAccountCreatedEmail_Call) Run(...) *MockEmailService_SendAccountCreatedEmail_Call
- func (_c *MockEmailService_SendAccountCreatedEmail_Call) RunAndReturn(...) *MockEmailService_SendAccountCreatedEmail_Call
- type MockEmailService_SendAccountDeletedNotification_Call
- func (_c *MockEmailService_SendAccountDeletedNotification_Call) Return(err error) *MockEmailService_SendAccountDeletedNotification_Call
- func (_c *MockEmailService_SendAccountDeletedNotification_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendAccountDeletedNotification_Call
- func (_c *MockEmailService_SendAccountDeletedNotification_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendAccountDeletedNotification_Call
- type MockEmailService_SendAccountLockoutEmail_Call
- func (_c *MockEmailService_SendAccountLockoutEmail_Call) Return(err error) *MockEmailService_SendAccountLockoutEmail_Call
- func (_c *MockEmailService_SendAccountLockoutEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendAccountLockoutEmail_Call
- func (_c *MockEmailService_SendAccountLockoutEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendAccountLockoutEmail_Call
- type MockEmailService_SendDataExportNotificationEmail_Call
- func (_c *MockEmailService_SendDataExportNotificationEmail_Call) Return(err error) *MockEmailService_SendDataExportNotificationEmail_Call
- func (_c *MockEmailService_SendDataExportNotificationEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendDataExportNotificationEmail_Call
- func (_c *MockEmailService_SendDataExportNotificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendDataExportNotificationEmail_Call
- type MockEmailService_SendEmailUpdateVerificationEmail_Call
- func (_c *MockEmailService_SendEmailUpdateVerificationEmail_Call) Return(err error) *MockEmailService_SendEmailUpdateVerificationEmail_Call
- func (_c *MockEmailService_SendEmailUpdateVerificationEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendEmailUpdateVerificationEmail_Call
- func (_c *MockEmailService_SendEmailUpdateVerificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendEmailUpdateVerificationEmail_Call
- type MockEmailService_SendPasswordResetEmail_Call
- func (_c *MockEmailService_SendPasswordResetEmail_Call) Return(err error) *MockEmailService_SendPasswordResetEmail_Call
- func (_c *MockEmailService_SendPasswordResetEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendPasswordResetEmail_Call
- func (_c *MockEmailService_SendPasswordResetEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendPasswordResetEmail_Call
- type MockEmailService_SendUserApprovedEmail_Call
- func (_c *MockEmailService_SendUserApprovedEmail_Call) Return(err error) *MockEmailService_SendUserApprovedEmail_Call
- func (_c *MockEmailService_SendUserApprovedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserApprovedEmail_Call
- func (_c *MockEmailService_SendUserApprovedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserApprovedEmail_Call
- type MockEmailService_SendUserRejectedEmail_Call
- func (_c *MockEmailService_SendUserRejectedEmail_Call) Return(err error) *MockEmailService_SendUserRejectedEmail_Call
- func (_c *MockEmailService_SendUserRejectedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserRejectedEmail_Call
- func (_c *MockEmailService_SendUserRejectedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserRejectedEmail_Call
- type MockEmailService_SendUserSoftDeletedEmail_Call
- func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) Return(err error) *MockEmailService_SendUserSoftDeletedEmail_Call
- func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) Run(run func(ctx context.Context, to string, username string, reason string)) *MockEmailService_SendUserSoftDeletedEmail_Call
- func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, reason string) error) *MockEmailService_SendUserSoftDeletedEmail_Call
- type MockEmailService_SendUserSuspendedEmail_Call
- func (_c *MockEmailService_SendUserSuspendedEmail_Call) Return(err error) *MockEmailService_SendUserSuspendedEmail_Call
- func (_c *MockEmailService_SendUserSuspendedEmail_Call) Run(run func(ctx context.Context, to string, username string, reason string)) *MockEmailService_SendUserSuspendedEmail_Call
- func (_c *MockEmailService_SendUserSuspendedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, reason string) error) *MockEmailService_SendUserSuspendedEmail_Call
- type MockEmailService_SendUserUnsuspendedEmail_Call
- func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) Return(err error) *MockEmailService_SendUserUnsuspendedEmail_Call
- func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserUnsuspendedEmail_Call
- func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserUnsuspendedEmail_Call
- type MockEmailService_SendVerificationEmail_Call
- func (_c *MockEmailService_SendVerificationEmail_Call) Return(err error) *MockEmailService_SendVerificationEmail_Call
- func (_c *MockEmailService_SendVerificationEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendVerificationEmail_Call
- func (_c *MockEmailService_SendVerificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendVerificationEmail_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEmailService ¶
MockEmailService is an autogenerated mock type for the EmailService type
func NewMockEmailService ¶
func NewMockEmailService(t interface {
mock.TestingT
Cleanup(func())
}) *MockEmailService
NewMockEmailService creates a new instance of MockEmailService. 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 (*MockEmailService) EXPECT ¶
func (_m *MockEmailService) EXPECT() *MockEmailService_Expecter
func (*MockEmailService) SendAccountCreatedEmail ¶
func (_mock *MockEmailService) SendAccountCreatedEmail(ctx context.Context, to string, username string, plainPassword string) error
SendAccountCreatedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendAccountDeletedNotification ¶
func (_mock *MockEmailService) SendAccountDeletedNotification(ctx context.Context, to string, username string) error
SendAccountDeletedNotification provides a mock function for the type MockEmailService
func (*MockEmailService) SendAccountLockoutEmail ¶
func (_mock *MockEmailService) SendAccountLockoutEmail(ctx context.Context, to string, username string) error
SendAccountLockoutEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendDataExportNotificationEmail ¶
func (_mock *MockEmailService) SendDataExportNotificationEmail(ctx context.Context, to string, username string) error
SendDataExportNotificationEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendEmailUpdateVerificationEmail ¶
func (_mock *MockEmailService) SendEmailUpdateVerificationEmail(ctx context.Context, to string, username string, token string) error
SendEmailUpdateVerificationEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendPasswordResetEmail ¶
func (_mock *MockEmailService) SendPasswordResetEmail(ctx context.Context, to string, username string, token string) error
SendPasswordResetEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendUserApprovedEmail ¶
func (_mock *MockEmailService) SendUserApprovedEmail(ctx context.Context, to string, username string) error
SendUserApprovedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendUserRejectedEmail ¶
func (_mock *MockEmailService) SendUserRejectedEmail(ctx context.Context, to string, username string) error
SendUserRejectedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendUserSoftDeletedEmail ¶
func (_mock *MockEmailService) SendUserSoftDeletedEmail(ctx context.Context, to string, username string, reason string) error
SendUserSoftDeletedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendUserSuspendedEmail ¶
func (_mock *MockEmailService) SendUserSuspendedEmail(ctx context.Context, to string, username string, reason string) error
SendUserSuspendedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendUserUnsuspendedEmail ¶
func (_mock *MockEmailService) SendUserUnsuspendedEmail(ctx context.Context, to string, username string) error
SendUserUnsuspendedEmail provides a mock function for the type MockEmailService
func (*MockEmailService) SendVerificationEmail ¶
func (_mock *MockEmailService) SendVerificationEmail(ctx context.Context, to string, username string, token string) error
SendVerificationEmail provides a mock function for the type MockEmailService
type MockEmailService_Expecter ¶
type MockEmailService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEmailService_Expecter) SendAccountCreatedEmail ¶
func (_e *MockEmailService_Expecter) SendAccountCreatedEmail(ctx any, to any, username any, plainPassword any) *MockEmailService_SendAccountCreatedEmail_Call
SendAccountCreatedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- plainPassword string
func (*MockEmailService_Expecter) SendAccountDeletedNotification ¶
func (_e *MockEmailService_Expecter) SendAccountDeletedNotification(ctx any, to any, username any) *MockEmailService_SendAccountDeletedNotification_Call
SendAccountDeletedNotification is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendAccountLockoutEmail ¶
func (_e *MockEmailService_Expecter) SendAccountLockoutEmail(ctx any, to any, username any) *MockEmailService_SendAccountLockoutEmail_Call
SendAccountLockoutEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendDataExportNotificationEmail ¶
func (_e *MockEmailService_Expecter) SendDataExportNotificationEmail(ctx any, to any, username any) *MockEmailService_SendDataExportNotificationEmail_Call
SendDataExportNotificationEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendEmailUpdateVerificationEmail ¶
func (_e *MockEmailService_Expecter) SendEmailUpdateVerificationEmail(ctx any, to any, username any, token any) *MockEmailService_SendEmailUpdateVerificationEmail_Call
SendEmailUpdateVerificationEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- token string
func (*MockEmailService_Expecter) SendPasswordResetEmail ¶
func (_e *MockEmailService_Expecter) SendPasswordResetEmail(ctx any, to any, username any, token any) *MockEmailService_SendPasswordResetEmail_Call
SendPasswordResetEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- token string
func (*MockEmailService_Expecter) SendUserApprovedEmail ¶
func (_e *MockEmailService_Expecter) SendUserApprovedEmail(ctx any, to any, username any) *MockEmailService_SendUserApprovedEmail_Call
SendUserApprovedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendUserRejectedEmail ¶
func (_e *MockEmailService_Expecter) SendUserRejectedEmail(ctx any, to any, username any) *MockEmailService_SendUserRejectedEmail_Call
SendUserRejectedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendUserSoftDeletedEmail ¶
func (_e *MockEmailService_Expecter) SendUserSoftDeletedEmail(ctx any, to any, username any, reason any) *MockEmailService_SendUserSoftDeletedEmail_Call
SendUserSoftDeletedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- reason string
func (*MockEmailService_Expecter) SendUserSuspendedEmail ¶
func (_e *MockEmailService_Expecter) SendUserSuspendedEmail(ctx any, to any, username any, reason any) *MockEmailService_SendUserSuspendedEmail_Call
SendUserSuspendedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- reason string
func (*MockEmailService_Expecter) SendUserUnsuspendedEmail ¶
func (_e *MockEmailService_Expecter) SendUserUnsuspendedEmail(ctx any, to any, username any) *MockEmailService_SendUserUnsuspendedEmail_Call
SendUserUnsuspendedEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
func (*MockEmailService_Expecter) SendVerificationEmail ¶
func (_e *MockEmailService_Expecter) SendVerificationEmail(ctx any, to any, username any, token any) *MockEmailService_SendVerificationEmail_Call
SendVerificationEmail is a helper method to define mock.On call
- ctx context.Context
- to string
- username string
- token string
type MockEmailService_SendAccountCreatedEmail_Call ¶
MockEmailService_SendAccountCreatedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAccountCreatedEmail'
func (*MockEmailService_SendAccountCreatedEmail_Call) Return ¶
func (_c *MockEmailService_SendAccountCreatedEmail_Call) Return(err error) *MockEmailService_SendAccountCreatedEmail_Call
func (*MockEmailService_SendAccountCreatedEmail_Call) Run ¶
func (_c *MockEmailService_SendAccountCreatedEmail_Call) Run(run func(ctx context.Context, to string, username string, plainPassword string)) *MockEmailService_SendAccountCreatedEmail_Call
func (*MockEmailService_SendAccountCreatedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendAccountCreatedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, plainPassword string) error) *MockEmailService_SendAccountCreatedEmail_Call
type MockEmailService_SendAccountDeletedNotification_Call ¶
MockEmailService_SendAccountDeletedNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAccountDeletedNotification'
func (*MockEmailService_SendAccountDeletedNotification_Call) Run ¶
func (_c *MockEmailService_SendAccountDeletedNotification_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendAccountDeletedNotification_Call
func (*MockEmailService_SendAccountDeletedNotification_Call) RunAndReturn ¶
func (_c *MockEmailService_SendAccountDeletedNotification_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendAccountDeletedNotification_Call
type MockEmailService_SendAccountLockoutEmail_Call ¶
MockEmailService_SendAccountLockoutEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAccountLockoutEmail'
func (*MockEmailService_SendAccountLockoutEmail_Call) Return ¶
func (_c *MockEmailService_SendAccountLockoutEmail_Call) Return(err error) *MockEmailService_SendAccountLockoutEmail_Call
func (*MockEmailService_SendAccountLockoutEmail_Call) Run ¶
func (_c *MockEmailService_SendAccountLockoutEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendAccountLockoutEmail_Call
func (*MockEmailService_SendAccountLockoutEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendAccountLockoutEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendAccountLockoutEmail_Call
type MockEmailService_SendDataExportNotificationEmail_Call ¶
MockEmailService_SendDataExportNotificationEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendDataExportNotificationEmail'
func (*MockEmailService_SendDataExportNotificationEmail_Call) Run ¶
func (_c *MockEmailService_SendDataExportNotificationEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendDataExportNotificationEmail_Call
func (*MockEmailService_SendDataExportNotificationEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendDataExportNotificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendDataExportNotificationEmail_Call
type MockEmailService_SendEmailUpdateVerificationEmail_Call ¶
MockEmailService_SendEmailUpdateVerificationEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendEmailUpdateVerificationEmail'
func (*MockEmailService_SendEmailUpdateVerificationEmail_Call) Run ¶
func (_c *MockEmailService_SendEmailUpdateVerificationEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendEmailUpdateVerificationEmail_Call
func (*MockEmailService_SendEmailUpdateVerificationEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendEmailUpdateVerificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendEmailUpdateVerificationEmail_Call
type MockEmailService_SendPasswordResetEmail_Call ¶
MockEmailService_SendPasswordResetEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendPasswordResetEmail'
func (*MockEmailService_SendPasswordResetEmail_Call) Return ¶
func (_c *MockEmailService_SendPasswordResetEmail_Call) Return(err error) *MockEmailService_SendPasswordResetEmail_Call
func (*MockEmailService_SendPasswordResetEmail_Call) Run ¶
func (_c *MockEmailService_SendPasswordResetEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendPasswordResetEmail_Call
func (*MockEmailService_SendPasswordResetEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendPasswordResetEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendPasswordResetEmail_Call
type MockEmailService_SendUserApprovedEmail_Call ¶
MockEmailService_SendUserApprovedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendUserApprovedEmail'
func (*MockEmailService_SendUserApprovedEmail_Call) Return ¶
func (_c *MockEmailService_SendUserApprovedEmail_Call) Return(err error) *MockEmailService_SendUserApprovedEmail_Call
func (*MockEmailService_SendUserApprovedEmail_Call) Run ¶
func (_c *MockEmailService_SendUserApprovedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserApprovedEmail_Call
func (*MockEmailService_SendUserApprovedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendUserApprovedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserApprovedEmail_Call
type MockEmailService_SendUserRejectedEmail_Call ¶
MockEmailService_SendUserRejectedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendUserRejectedEmail'
func (*MockEmailService_SendUserRejectedEmail_Call) Return ¶
func (_c *MockEmailService_SendUserRejectedEmail_Call) Return(err error) *MockEmailService_SendUserRejectedEmail_Call
func (*MockEmailService_SendUserRejectedEmail_Call) Run ¶
func (_c *MockEmailService_SendUserRejectedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserRejectedEmail_Call
func (*MockEmailService_SendUserRejectedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendUserRejectedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserRejectedEmail_Call
type MockEmailService_SendUserSoftDeletedEmail_Call ¶
MockEmailService_SendUserSoftDeletedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendUserSoftDeletedEmail'
func (*MockEmailService_SendUserSoftDeletedEmail_Call) Return ¶
func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) Return(err error) *MockEmailService_SendUserSoftDeletedEmail_Call
func (*MockEmailService_SendUserSoftDeletedEmail_Call) Run ¶
func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) Run(run func(ctx context.Context, to string, username string, reason string)) *MockEmailService_SendUserSoftDeletedEmail_Call
func (*MockEmailService_SendUserSoftDeletedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendUserSoftDeletedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, reason string) error) *MockEmailService_SendUserSoftDeletedEmail_Call
type MockEmailService_SendUserSuspendedEmail_Call ¶
MockEmailService_SendUserSuspendedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendUserSuspendedEmail'
func (*MockEmailService_SendUserSuspendedEmail_Call) Return ¶
func (_c *MockEmailService_SendUserSuspendedEmail_Call) Return(err error) *MockEmailService_SendUserSuspendedEmail_Call
func (*MockEmailService_SendUserSuspendedEmail_Call) Run ¶
func (_c *MockEmailService_SendUserSuspendedEmail_Call) Run(run func(ctx context.Context, to string, username string, reason string)) *MockEmailService_SendUserSuspendedEmail_Call
func (*MockEmailService_SendUserSuspendedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendUserSuspendedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, reason string) error) *MockEmailService_SendUserSuspendedEmail_Call
type MockEmailService_SendUserUnsuspendedEmail_Call ¶
MockEmailService_SendUserUnsuspendedEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendUserUnsuspendedEmail'
func (*MockEmailService_SendUserUnsuspendedEmail_Call) Return ¶
func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) Return(err error) *MockEmailService_SendUserUnsuspendedEmail_Call
func (*MockEmailService_SendUserUnsuspendedEmail_Call) Run ¶
func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) Run(run func(ctx context.Context, to string, username string)) *MockEmailService_SendUserUnsuspendedEmail_Call
func (*MockEmailService_SendUserUnsuspendedEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendUserUnsuspendedEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string) error) *MockEmailService_SendUserUnsuspendedEmail_Call
type MockEmailService_SendVerificationEmail_Call ¶
MockEmailService_SendVerificationEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendVerificationEmail'
func (*MockEmailService_SendVerificationEmail_Call) Return ¶
func (_c *MockEmailService_SendVerificationEmail_Call) Return(err error) *MockEmailService_SendVerificationEmail_Call
func (*MockEmailService_SendVerificationEmail_Call) Run ¶
func (_c *MockEmailService_SendVerificationEmail_Call) Run(run func(ctx context.Context, to string, username string, token string)) *MockEmailService_SendVerificationEmail_Call
func (*MockEmailService_SendVerificationEmail_Call) RunAndReturn ¶
func (_c *MockEmailService_SendVerificationEmail_Call) RunAndReturn(run func(ctx context.Context, to string, username string, token string) error) *MockEmailService_SendVerificationEmail_Call