mocks

package
v0.0.0-...-aef9128 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthServiceInterface

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

MockAuthServiceInterface is a mock of AuthServiceInterface interface.

func NewMockAuthServiceInterface

func NewMockAuthServiceInterface(ctrl *gomock.Controller) *MockAuthServiceInterface

NewMockAuthServiceInterface creates a new mock instance.

func (*MockAuthServiceInterface) DeleteAccount

func (m *MockAuthServiceInterface) DeleteAccount(email, otp string) error

DeleteAccount mocks base method.

func (*MockAuthServiceInterface) EXPECT

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

func (*MockAuthServiceInterface) ForgotPasswordRequest

func (m *MockAuthServiceInterface) ForgotPasswordRequest(email string) error

ForgotPasswordRequest mocks base method.

func (*MockAuthServiceInterface) LoginUser

func (m *MockAuthServiceInterface) LoginUser(email, password string) (string, models.User, error)

LoginUser mocks base method.

func (*MockAuthServiceInterface) RegisterUser

func (m *MockAuthServiceInterface) RegisterUser(email, name, profileImage, password string) (models.User, error)

RegisterUser mocks base method.

func (*MockAuthServiceInterface) RequestDeletion

func (m *MockAuthServiceInterface) RequestDeletion(user models.User) error

RequestDeletion mocks base method.

func (*MockAuthServiceInterface) RequestVerificationAgain

func (m *MockAuthServiceInterface) RequestVerificationAgain(email string) error

RequestVerificationAgain mocks base method.

func (*MockAuthServiceInterface) ResetPassword

func (m *MockAuthServiceInterface) ResetPassword(user models.User, oldPassword, newPassword string) error

ResetPassword mocks base method.

func (*MockAuthServiceInterface) SetNewPassword

func (m *MockAuthServiceInterface) SetNewPassword(email, otp, newPassword string) error

SetNewPassword mocks base method.

func (*MockAuthServiceInterface) VerifyEmail

func (m *MockAuthServiceInterface) VerifyEmail(email, otp string) error

VerifyEmail mocks base method.

type MockAuthServiceInterfaceMockRecorder

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

MockAuthServiceInterfaceMockRecorder is the mock recorder for MockAuthServiceInterface.

func (*MockAuthServiceInterfaceMockRecorder) DeleteAccount

func (mr *MockAuthServiceInterfaceMockRecorder) DeleteAccount(email, otp interface{}) *gomock.Call

DeleteAccount indicates an expected call of DeleteAccount.

func (*MockAuthServiceInterfaceMockRecorder) ForgotPasswordRequest

func (mr *MockAuthServiceInterfaceMockRecorder) ForgotPasswordRequest(email interface{}) *gomock.Call

ForgotPasswordRequest indicates an expected call of ForgotPasswordRequest.

func (*MockAuthServiceInterfaceMockRecorder) LoginUser

func (mr *MockAuthServiceInterfaceMockRecorder) LoginUser(email, password interface{}) *gomock.Call

LoginUser indicates an expected call of LoginUser.

func (*MockAuthServiceInterfaceMockRecorder) RegisterUser

func (mr *MockAuthServiceInterfaceMockRecorder) RegisterUser(email, name, profileImage, password interface{}) *gomock.Call

RegisterUser indicates an expected call of RegisterUser.

func (*MockAuthServiceInterfaceMockRecorder) RequestDeletion

func (mr *MockAuthServiceInterfaceMockRecorder) RequestDeletion(user interface{}) *gomock.Call

RequestDeletion indicates an expected call of RequestDeletion.

func (*MockAuthServiceInterfaceMockRecorder) RequestVerificationAgain

func (mr *MockAuthServiceInterfaceMockRecorder) RequestVerificationAgain(email interface{}) *gomock.Call

RequestVerificationAgain indicates an expected call of RequestVerificationAgain.

func (*MockAuthServiceInterfaceMockRecorder) ResetPassword

func (mr *MockAuthServiceInterfaceMockRecorder) ResetPassword(user, oldPassword, newPassword interface{}) *gomock.Call

ResetPassword indicates an expected call of ResetPassword.

func (*MockAuthServiceInterfaceMockRecorder) SetNewPassword

func (mr *MockAuthServiceInterfaceMockRecorder) SetNewPassword(email, otp, newPassword interface{}) *gomock.Call

SetNewPassword indicates an expected call of SetNewPassword.

func (*MockAuthServiceInterfaceMockRecorder) VerifyEmail

func (mr *MockAuthServiceInterfaceMockRecorder) VerifyEmail(email, otp interface{}) *gomock.Call

VerifyEmail indicates an expected call of VerifyEmail.

type MockDeletionConfirmationRepository

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

MockDeletionConfirmationRepository is a mock for DeletionConfirmationRepositoryInterface.

func NewMockDeletionConfirmationRepository

func NewMockDeletionConfirmationRepository(ctrl *gomock.Controller) *MockDeletionConfirmationRepository

NewMockDeletionConfirmationRepository creates a new mock for DeletionConfirmationRepositoryInterface.

func (*MockDeletionConfirmationRepository) CreateDeletionConfirmation

func (m *MockDeletionConfirmationRepository) CreateDeletionConfirmation(deletionConfirmation models.DeletionConfirmation) error

CreateDeletionConfirmation mocks the CreateDeletionConfirmation method.

func (*MockDeletionConfirmationRepository) DeleteDeletionConfirmationByEmail

func (m *MockDeletionConfirmationRepository) DeleteDeletionConfirmationByEmail(email string) error

DeleteDeletionConfirmationByEmail mocks the DeleteDeletionConfirmationByEmail method.

func (*MockDeletionConfirmationRepository) EXPECT

EXPECT methods for expected calls with return values

func (*MockDeletionConfirmationRepository) GetDeletionConfirmationByEmail

func (m *MockDeletionConfirmationRepository) GetDeletionConfirmationByEmail(email string) (models.DeletionConfirmation, error)

GetDeletionConfirmationByEmail mocks the GetDeletionConfirmationByEmail method.

type MockDeletionConfirmationRepositoryMockRecorder

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

MockDeletionConfirmationRepositoryMockRecorder is a recorder for the MockDeletionConfirmationRepository.

func (*MockDeletionConfirmationRepositoryMockRecorder) CreateDeletionConfirmation

func (m *MockDeletionConfirmationRepositoryMockRecorder) CreateDeletionConfirmation(deletionConfirmation models.DeletionConfirmation) *gomock.Call

CreateDeletionConfirmation mocks the CreateDeletionConfirmation method.

func (*MockDeletionConfirmationRepositoryMockRecorder) DeleteDeletionConfirmationByEmail

func (m *MockDeletionConfirmationRepositoryMockRecorder) DeleteDeletionConfirmationByEmail(email string) *gomock.Call

DeleteDeletionConfirmationByEmail mocks the DeleteDeletionConfirmationByEmail method.

func (*MockDeletionConfirmationRepositoryMockRecorder) GetDeletionConfirmationByEmail

func (m *MockDeletionConfirmationRepositoryMockRecorder) GetDeletionConfirmationByEmail(email string) *gomock.Call

GetDeletionConfirmationByEmail mocks the GetDeletionConfirmationByEmail method.

type MockEmailService

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

MockEmailService is a mock for EmailServiceInterface.

func NewMockEmailService

func NewMockEmailService(ctrl *gomock.Controller) *MockEmailService

NewMockEmailService creates a new mock for EmailServiceInterface.

func (*MockEmailService) EXPECT

EXPECT methods for expected calls with return values

func (*MockEmailService) GenericSendMail

func (m *MockEmailService) GenericSendMail(subject string, content string, toEmail string, userName string) error

GenericSendMail mocks the GenericSendMail method.

func (*MockEmailService) SendDeletionMail

func (m *MockEmailService) SendDeletionMail(toEmail string, userName string) error

SendDeletionMail mocks the SendDeletionMail method.

func (*MockEmailService) SendForgotPasswordMail

func (m *MockEmailService) SendForgotPasswordMail(toEmail string, userName string) error

SendForgotPasswordMail mocks the SendForgotPasswordMail method.

func (*MockEmailService) SendRegistrationMail

func (m *MockEmailService) SendRegistrationMail(subject string, content string, toEmail string, userName string, newUser bool) error

SendRegistrationMail mocks the SendRegistrationMail method.

type MockEmailServiceMockRecorder

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

MockEmailServiceMockRecorder is a recorder for the MockEmailService.

func (*MockEmailServiceMockRecorder) GenericSendMail

func (m *MockEmailServiceMockRecorder) GenericSendMail(subject string, content string, toEmail string, userName string) *gomock.Call

GenericSendMail mocks the GenericSendMail method.

func (*MockEmailServiceMockRecorder) SendDeletionMail

func (m *MockEmailServiceMockRecorder) SendDeletionMail(toEmail string, userName string) *gomock.Call

SendDeletionMail mocks the SendDeletionMail method.

func (*MockEmailServiceMockRecorder) SendForgotPasswordMail

func (m *MockEmailServiceMockRecorder) SendForgotPasswordMail(toEmail string, userName string) *gomock.Call

SendForgotPasswordMail mocks the SendForgotPasswordMail method.

func (*MockEmailServiceMockRecorder) SendRegistrationMail

func (m *MockEmailServiceMockRecorder) SendRegistrationMail(subject string, content string, toEmail string, userName string, newUser bool) *gomock.Call

SendRegistrationMail mocks the SendRegistrationMail method.

type MockForgotPasswordRepository

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

MockForgotPasswordRepository is a mock for ForgotPasswordRepositoryInterface.

func NewMockForgotPasswordRepository

func NewMockForgotPasswordRepository(ctrl *gomock.Controller) *MockForgotPasswordRepository

NewMockForgotPasswordRepository creates a new mock for ForgotPasswordRepositoryInterface.

func (*MockForgotPasswordRepository) CreateForgotPassword

func (m *MockForgotPasswordRepository) CreateForgotPassword(forgotPassword models.ForgotPassword) error

CreateForgotPassword mocks the CreateForgotPassword method.

func (*MockForgotPasswordRepository) DeleteForgotPasswordByEmail

func (m *MockForgotPasswordRepository) DeleteForgotPasswordByEmail(email string) error

DeleteForgotPasswordByEmail mocks the DeleteForgotPasswordByEmail method.

func (*MockForgotPasswordRepository) EXPECT

EXPECT methods for expected calls with return values

func (*MockForgotPasswordRepository) GetForgotPasswordByEmail

func (m *MockForgotPasswordRepository) GetForgotPasswordByEmail(email string) (*models.ForgotPassword, error)

GetForgotPasswordByEmail mocks the GetForgotPasswordByEmail method.

type MockForgotPasswordRepositoryMockRecorder

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

MockForgotPasswordRepositoryMockRecorder is a recorder for the MockForgotPasswordRepository.

func (*MockForgotPasswordRepositoryMockRecorder) CreateForgotPassword

func (m *MockForgotPasswordRepositoryMockRecorder) CreateForgotPassword(forgotPassword models.ForgotPassword) *gomock.Call

CreateForgotPassword mocks the CreateForgotPassword method.

func (*MockForgotPasswordRepositoryMockRecorder) DeleteForgotPasswordByEmail

func (m *MockForgotPasswordRepositoryMockRecorder) DeleteForgotPasswordByEmail(email string) *gomock.Call

DeleteForgotPasswordByEmail mocks the DeleteForgotPasswordByEmail method.

func (*MockForgotPasswordRepositoryMockRecorder) GetForgotPasswordByEmail

func (m *MockForgotPasswordRepositoryMockRecorder) GetForgotPasswordByEmail(email string) *gomock.Call

GetForgotPasswordByEmail mocks the GetForgotPasswordByEmail method.

type MockMoodRepositoryInterface

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

MockMoodRepositoryInterface is a mock of MoodRepositoryInterface interface.

func NewMockMoodRepositoryInterface

func NewMockMoodRepositoryInterface(ctrl *gomock.Controller) *MockMoodRepositoryInterface

NewMockMoodRepositoryInterface creates a new mock instance.

func (*MockMoodRepositoryInterface) CreateMoodAttributeEntry

func (m *MockMoodRepositoryInterface) CreateMoodAttributeEntry(moodAttribute *models.MoodAttribute) error

CreateMoodAttributeEntry mocks base method.

func (*MockMoodRepositoryInterface) CreateMoodEntry

func (m *MockMoodRepositoryInterface) CreateMoodEntry(mood *models.Mood) error

CreateMoodEntry mocks base method.

func (*MockMoodRepositoryInterface) CreateNewAttribute

func (m *MockMoodRepositoryInterface) CreateNewAttribute(attribute *models.Attribute) error

CreateNewAttribute mocks base method.

func (*MockMoodRepositoryInterface) DeleteMood

func (m *MockMoodRepositoryInterface) DeleteMood(moodID uint) error

DeleteMood mocks base method.

func (*MockMoodRepositoryInterface) DeleteMoodAttributeByMoodID

func (m *MockMoodRepositoryInterface) DeleteMoodAttributeByMoodID(moodID uint) error

DeleteMoodAttributeByMoodID mocks base method.

func (*MockMoodRepositoryInterface) EXPECT

func (m *MockMoodRepositoryInterface) EXPECT() *MockMoodRepositoryInterfaceMockRecorder

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

func (*MockMoodRepositoryInterface) GetAttributeByID

func (m *MockMoodRepositoryInterface) GetAttributeByID(attributeID uint) (models.Attribute, error)

GetAttributeByID mocks base method.

func (*MockMoodRepositoryInterface) GetAttributes

func (m *MockMoodRepositoryInterface) GetAttributes(userID uint) ([]models.Attribute, error)

GetAttributes mocks base method.

func (*MockMoodRepositoryInterface) GetMoodAttributesByMoodID

func (m *MockMoodRepositoryInterface) GetMoodAttributesByMoodID(moodID uint) ([]models.MoodAttribute, error)

GetMoodAttributesByMoodID mocks base method.

func (*MockMoodRepositoryInterface) GetMoodByID

func (m *MockMoodRepositoryInterface) GetMoodByID(moodID uint) (models.Mood, error)

GetMoodByID mocks base method.

func (*MockMoodRepositoryInterface) GetMoodsByUserID

func (m *MockMoodRepositoryInterface) GetMoodsByUserID(userID uint) ([]models.Mood, error)

GetMoodsByUserID mocks base method.

func (*MockMoodRepositoryInterface) GetMoodsByUserIDAndDateRange

func (m *MockMoodRepositoryInterface) GetMoodsByUserIDAndDateRange(userID uint, startDate, endDate string) ([]models.Mood, error)

GetMoodsByUserIDAndDateRange mocks base method.

func (*MockMoodRepositoryInterface) GetMoodsByUserIDAndMoodType

func (m *MockMoodRepositoryInterface) GetMoodsByUserIDAndMoodType(userID uint, moodType models.MoodType) ([]models.Mood, error)

GetMoodsByUserIDAndMoodType mocks base method.

func (*MockMoodRepositoryInterface) GetMoodsByUserIDAndMoodTypeAndDateRange

func (m *MockMoodRepositoryInterface) GetMoodsByUserIDAndMoodTypeAndDateRange(userID uint, moodType models.MoodType, startDate, endDate string) ([]models.Mood, error)

GetMoodsByUserIDAndMoodTypeAndDateRange mocks base method.

func (*MockMoodRepositoryInterface) GetMoodsByUserIDAndOrderedByCreatedAt

func (m *MockMoodRepositoryInterface) GetMoodsByUserIDAndOrderedByCreatedAt(userID uint) ([]models.Mood, error)

GetMoodsByUserIDAndOrderedByCreatedAt mocks base method.

func (*MockMoodRepositoryInterface) UpdateMoodEntry

func (m *MockMoodRepositoryInterface) UpdateMoodEntry(mood *models.Mood) error

UpdateMoodEntry mocks base method.

type MockMoodRepositoryInterfaceMockRecorder

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

MockMoodRepositoryInterfaceMockRecorder is the mock recorder for MockMoodRepositoryInterface.

func (*MockMoodRepositoryInterfaceMockRecorder) CreateMoodAttributeEntry

func (mr *MockMoodRepositoryInterfaceMockRecorder) CreateMoodAttributeEntry(moodAttribute interface{}) *gomock.Call

CreateMoodAttributeEntry indicates an expected call of CreateMoodAttributeEntry.

func (*MockMoodRepositoryInterfaceMockRecorder) CreateMoodEntry

func (mr *MockMoodRepositoryInterfaceMockRecorder) CreateMoodEntry(mood interface{}) *gomock.Call

CreateMoodEntry indicates an expected call of CreateMoodEntry.

func (*MockMoodRepositoryInterfaceMockRecorder) CreateNewAttribute

func (mr *MockMoodRepositoryInterfaceMockRecorder) CreateNewAttribute(attribute interface{}) *gomock.Call

CreateNewAttribute indicates an expected call of CreateNewAttribute.

func (*MockMoodRepositoryInterfaceMockRecorder) DeleteMood

func (mr *MockMoodRepositoryInterfaceMockRecorder) DeleteMood(moodID interface{}) *gomock.Call

DeleteMood indicates an expected call of DeleteMood.

func (*MockMoodRepositoryInterfaceMockRecorder) DeleteMoodAttributeByMoodID

func (mr *MockMoodRepositoryInterfaceMockRecorder) DeleteMoodAttributeByMoodID(moodID interface{}) *gomock.Call

DeleteMoodAttributeByMoodID indicates an expected call of DeleteMoodAttributeByMoodID.

func (*MockMoodRepositoryInterfaceMockRecorder) GetAttributeByID

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetAttributeByID(attributeID interface{}) *gomock.Call

GetAttributeByID indicates an expected call of GetAttributeByID.

func (*MockMoodRepositoryInterfaceMockRecorder) GetAttributes

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetAttributes(userID interface{}) *gomock.Call

GetAttributes indicates an expected call of GetAttributes.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodAttributesByMoodID

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodAttributesByMoodID(moodID interface{}) *gomock.Call

GetMoodAttributesByMoodID indicates an expected call of GetMoodAttributesByMoodID.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodByID

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodByID(moodID interface{}) *gomock.Call

GetMoodByID indicates an expected call of GetMoodByID.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserID

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserID(userID interface{}) *gomock.Call

GetMoodsByUserID indicates an expected call of GetMoodsByUserID.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndDateRange

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndDateRange(userID, startDate, endDate interface{}) *gomock.Call

GetMoodsByUserIDAndDateRange indicates an expected call of GetMoodsByUserIDAndDateRange.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndMoodType

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndMoodType(userID, moodType interface{}) *gomock.Call

GetMoodsByUserIDAndMoodType indicates an expected call of GetMoodsByUserIDAndMoodType.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndMoodTypeAndDateRange

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndMoodTypeAndDateRange(userID, moodType, startDate, endDate interface{}) *gomock.Call

GetMoodsByUserIDAndMoodTypeAndDateRange indicates an expected call of GetMoodsByUserIDAndMoodTypeAndDateRange.

func (*MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndOrderedByCreatedAt

func (mr *MockMoodRepositoryInterfaceMockRecorder) GetMoodsByUserIDAndOrderedByCreatedAt(userID interface{}) *gomock.Call

GetMoodsByUserIDAndOrderedByCreatedAt indicates an expected call of GetMoodsByUserIDAndOrderedByCreatedAt.

func (*MockMoodRepositoryInterfaceMockRecorder) UpdateMoodEntry

func (mr *MockMoodRepositoryInterfaceMockRecorder) UpdateMoodEntry(mood interface{}) *gomock.Call

UpdateMoodEntry indicates an expected call of UpdateMoodEntry.

type MockPasswordAuthRepository

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

MockPasswordAuthRepository is a mock for PasswordAuthRepositoryInterface.

func NewMockPasswordAuthRepository

func NewMockPasswordAuthRepository(ctrl *gomock.Controller) *MockPasswordAuthRepository

NewMockPasswordAuthRepository creates a new mock for PasswordAuthRepositoryInterface.

func (*MockPasswordAuthRepository) CreatePwdAuthItem

func (m *MockPasswordAuthRepository) CreatePwdAuthItem(passwordAuth *models.PasswordAuth) error

CreatePwdAuthItem mocks the CreatePwdAuthItem method.

func (*MockPasswordAuthRepository) DeletePwdAuthItem

func (m *MockPasswordAuthRepository) DeletePwdAuthItem(id uint) error

DeletePwdAuthItem mocks the DeletePwdAuthItem method.

func (*MockPasswordAuthRepository) DeletePwdAuthItemByEmail

func (m *MockPasswordAuthRepository) DeletePwdAuthItemByEmail(email string) error

DeletePwdAuthItemByEmail mocks the DeletePwdAuthItemByEmail method.

func (*MockPasswordAuthRepository) EXPECT

EXPECT methods for expected calls with return values

func (*MockPasswordAuthRepository) GetPwdAuthItemByEmail

func (m *MockPasswordAuthRepository) GetPwdAuthItemByEmail(email string) (models.PasswordAuth, error)

GetPwdAuthItemByEmail mocks the GetPwdAuthItemByEmail method.

func (*MockPasswordAuthRepository) UpdatePwdAuthItem

func (m *MockPasswordAuthRepository) UpdatePwdAuthItem(passwordAuth models.PasswordAuth) error

UpdatePwdAuthItem mocks the UpdatePwdAuthItem method.

type MockPasswordAuthRepositoryMockRecorder

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

MockPasswordAuthRepositoryMockRecorder is a recorder for the MockPasswordAuthRepository.

func (*MockPasswordAuthRepositoryMockRecorder) CreatePwdAuthItem

func (m *MockPasswordAuthRepositoryMockRecorder) CreatePwdAuthItem(passwordAuth *models.PasswordAuth) *gomock.Call

CreatePwdAuthItem mocks the CreatePwdAuthItem method.

func (*MockPasswordAuthRepositoryMockRecorder) DeletePwdAuthItem

func (m *MockPasswordAuthRepositoryMockRecorder) DeletePwdAuthItem(id uint) *gomock.Call

DeletePwdAuthItem mocks the DeletePwdAuthItem method.

func (*MockPasswordAuthRepositoryMockRecorder) DeletePwdAuthItemByEmail

func (m *MockPasswordAuthRepositoryMockRecorder) DeletePwdAuthItemByEmail(email string) *gomock.Call

DeletePwdAuthItemByEmail mocks the DeletePwdAuthItemByEmail method.

func (*MockPasswordAuthRepositoryMockRecorder) GetPwdAuthItemByEmail

func (m *MockPasswordAuthRepositoryMockRecorder) GetPwdAuthItemByEmail(email string) *gomock.Call

GetPwdAuthItemByEmail mocks the GetPwdAuthItemByEmail method.

func (*MockPasswordAuthRepositoryMockRecorder) UpdatePwdAuthItem

func (m *MockPasswordAuthRepositoryMockRecorder) UpdatePwdAuthItem(passwordAuth models.PasswordAuth) *gomock.Call

UpdatePwdAuthItem mocks the UpdatePwdAuthItem method.

type MockUserRepository

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

MockUserRepository is a mock for UserRepositoryInterface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock for UserRepositoryInterface.

func (*MockUserRepository) CreateUser

func (m *MockUserRepository) CreateUser(user models.User) error

CreateUser mocks the CreateUser method.

func (*MockUserRepository) DeleteUserByID

func (m *MockUserRepository) DeleteUserByID(userID uint) error

DeleteUserByID mocks the DeleteUserByID method.

func (*MockUserRepository) EXPECT

EXPECT methods for expected calls with return values

func (*MockUserRepository) GetUserByEmail

func (m *MockUserRepository) GetUserByEmail(email string) (models.User, error)

GetUserByEmail mocks the GetUserByEmail method.

func (*MockUserRepository) GetUserByID

func (m *MockUserRepository) GetUserByID(userID uint) (models.User, error)

GetUserByID mocks the GetUserByID method.

func (*MockUserRepository) SaveUser

func (m *MockUserRepository) SaveUser(user models.User) error

SaveUser mocks the SaveUser method.

func (*MockUserRepository) VerifyUserEmail

func (m *MockUserRepository) VerifyUserEmail(email string) error

VerifyUserEmail mocks the VerifyUserEmail method.

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is a recorder for the MockUserRepository.

func (*MockUserRepositoryMockRecorder) CreateUser

func (m *MockUserRepositoryMockRecorder) CreateUser(user models.User) *gomock.Call

CreateUser mocks the CreateUser method.

func (*MockUserRepositoryMockRecorder) DeleteUserByID

func (m *MockUserRepositoryMockRecorder) DeleteUserByID(userID uint) *gomock.Call

DeleteUserByID mocks the DeleteUserByID method.

func (*MockUserRepositoryMockRecorder) GetUserByEmail

func (m *MockUserRepositoryMockRecorder) GetUserByEmail(email string) *gomock.Call

GetUserByEmail mocks the GetUserByEmail method.

func (*MockUserRepositoryMockRecorder) GetUserByID

func (m *MockUserRepositoryMockRecorder) GetUserByID(userID uint) *gomock.Call

GetUserByID mocks the GetUserByID method.

func (*MockUserRepositoryMockRecorder) SaveUser

SaveUser mocks the SaveUser method.

func (*MockUserRepositoryMockRecorder) VerifyUserEmail

func (m *MockUserRepositoryMockRecorder) VerifyUserEmail(email string) *gomock.Call

VerifyUserEmail mocks the VerifyUserEmail method.

type MockVerificationEntryRepository

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

MockVerificationEntryRepository is a mock for VerificationRepositoryInterface.

func NewMockVerificationEntryRepository

func NewMockVerificationEntryRepository(ctrl *gomock.Controller) *MockVerificationEntryRepository

NewMockVerificationEntryRepository creates a new mock for VerificationRepositoryInterface.

func (*MockVerificationEntryRepository) CreateVerificationEntry

func (m *MockVerificationEntryRepository) CreateVerificationEntry(verificationEntry models.VerificationEntry) error

CreateVerificationEntry mocks the CreateVerificationEntry method.

func (*MockVerificationEntryRepository) DeleteVerificationEntry

func (m *MockVerificationEntryRepository) DeleteVerificationEntry(email string) error

DeleteVerificationEntry mocks the DeleteVerificationEntry method.

func (*MockVerificationEntryRepository) EXPECT

EXPECT methods for expected calls with return values

func (*MockVerificationEntryRepository) GetVerificationEntryByEmail

func (m *MockVerificationEntryRepository) GetVerificationEntryByEmail(email string) (*models.VerificationEntry, error)

GetVerificationEntryByEmail mocks the GetVerificationEntryByEmail method.

type MockVerificationEntryRepositoryMockRecorder

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

MockVerificationEntryRepositoryMockRecorder is a recorder for the MockVerificationEntryRepository.

func (*MockVerificationEntryRepositoryMockRecorder) CreateVerificationEntry

func (m *MockVerificationEntryRepositoryMockRecorder) CreateVerificationEntry(verificationEntry models.VerificationEntry) *gomock.Call

CreateVerificationEntry mocks the CreateVerificationEntry method.

func (*MockVerificationEntryRepositoryMockRecorder) DeleteVerificationEntry

func (m *MockVerificationEntryRepositoryMockRecorder) DeleteVerificationEntry(email string) *gomock.Call

DeleteVerificationEntry mocks the DeleteVerificationEntry method.

func (*MockVerificationEntryRepositoryMockRecorder) GetVerificationEntryByEmail

func (m *MockVerificationEntryRepositoryMockRecorder) GetVerificationEntryByEmail(email string) *gomock.Call

GetVerificationEntryByEmail mocks the GetVerificationEntryByEmail method.

Jump to

Keyboard shortcuts

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