mockdb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mockdb is a generated GoMock package.

Package mockdb is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) CreateAccount

func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)

CreateAccount mocks base method.

func (*MockStore) CreateBudget

func (m *MockStore) CreateBudget(arg0 context.Context, arg1 db.CreateBudgetParams) (db.Budget, error)

CreateBudget mocks base method.

func (*MockStore) CreateCategory

func (m *MockStore) CreateCategory(arg0 context.Context, arg1 db.CreateCategoryParams) (db.Category, error)

CreateCategory mocks base method.

func (*MockStore) CreateCategoryGroup

func (m *MockStore) CreateCategoryGroup(arg0 context.Context, arg1 db.CreateCategoryGroupParams) (db.CategoryGroup, error)

CreateCategoryGroup mocks base method.

func (*MockStore) CreatePayee

func (m *MockStore) CreatePayee(arg0 context.Context, arg1 db.CreatePayeeParams) (db.Payee, error)

CreatePayee mocks base method.

func (*MockStore) CreateSession

func (m *MockStore) CreateSession(arg0 context.Context, arg1 db.CreateSessionParams) (db.Session, error)

CreateSession mocks base method.

func (*MockStore) CreateTransaction

func (m *MockStore) CreateTransaction(arg0 context.Context, arg1 db.CreateTransactionParams) (db.Transaction, error)

CreateTransaction mocks base method.

func (*MockStore) CreateUser

func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)

CreateUser mocks base method.

func (*MockStore) CreateUserTx

func (m *MockStore) CreateUserTx(arg0 context.Context, arg1 db.CreateUserParams, arg2 func(db.UserParams) error) (db.User, error)

CreateUserTx mocks base method.

func (*MockStore) CreateVerifyEmails

func (m *MockStore) CreateVerifyEmails(arg0 context.Context, arg1 db.CreateVerifyEmailsParams) (db.VerifyEmail, error)

CreateVerifyEmails mocks base method.

func (*MockStore) DeleteAccount

func (m *MockStore) DeleteAccount(arg0 context.Context, arg1 uuid.UUID) error

DeleteAccount mocks base method.

func (*MockStore) DeleteAccounts

func (m *MockStore) DeleteAccounts(arg0 context.Context, arg1 uuid.UUID) error

DeleteAccounts mocks base method.

func (*MockStore) DeleteBudget

func (m *MockStore) DeleteBudget(arg0 context.Context, arg1 uuid.UUID) error

DeleteBudget mocks base method.

func (*MockStore) DeleteBudgetTx

func (m *MockStore) DeleteBudgetTx(arg0 context.Context, arg1 uuid.UUID) error

DeleteBudgetTx mocks base method.

func (*MockStore) DeleteBudgets

func (m *MockStore) DeleteBudgets(arg0 context.Context, arg1 string) error

DeleteBudgets mocks base method.

func (*MockStore) DeleteCategories

func (m *MockStore) DeleteCategories(arg0 context.Context, arg1 uuid.UUID) error

DeleteCategories mocks base method.

func (*MockStore) DeleteCategory

func (m *MockStore) DeleteCategory(arg0 context.Context, arg1 uuid.UUID) error

DeleteCategory mocks base method.

func (*MockStore) DeleteCategoryGroup

func (m *MockStore) DeleteCategoryGroup(arg0 context.Context, arg1 uuid.UUID) error

DeleteCategoryGroup mocks base method.

func (*MockStore) DeleteCategoryGroupTx

func (m *MockStore) DeleteCategoryGroupTx(arg0 context.Context, arg1 uuid.UUID) error

DeleteCategoryGroupTx mocks base method.

func (*MockStore) DeleteCategoryGroups

func (m *MockStore) DeleteCategoryGroups(arg0 context.Context, arg1 uuid.UUID) error

DeleteCategoryGroups mocks base method.

func (*MockStore) DeletePayee

func (m *MockStore) DeletePayee(arg0 context.Context, arg1 db.DeletePayeeParams) error

DeletePayee mocks base method.

func (*MockStore) DeleteTransaction

func (m *MockStore) DeleteTransaction(arg0 context.Context, arg1 uuid.UUID) error

DeleteTransaction mocks base method.

func (*MockStore) DeleteUser

func (m *MockStore) DeleteUser(arg0 context.Context, arg1 string) error

DeleteUser mocks base method.

func (*MockStore) DeleteUserSessions

func (m *MockStore) DeleteUserSessions(arg0 context.Context, arg1 string) error

DeleteUserSessions mocks base method.

func (*MockStore) DeleteUserTx

func (m *MockStore) DeleteUserTx(arg0 context.Context, arg1 db.UserParams, arg2 []uuid.UUID, arg3 func(db.UserParams) error) error

DeleteUserTx mocks base method.

func (*MockStore) DeleteVerifyEmails

func (m *MockStore) DeleteVerifyEmails(arg0 context.Context, arg1 string) error

DeleteVerifyEmails mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetAccount

func (m *MockStore) GetAccount(arg0 context.Context, arg1 db.GetAccountParams) (db.Account, error)

GetAccount mocks base method.

func (*MockStore) GetAccounts

func (m *MockStore) GetAccounts(arg0 context.Context, arg1 uuid.UUID) ([]db.Account, error)

GetAccounts mocks base method.

func (*MockStore) GetBudget

func (m *MockStore) GetBudget(arg0 context.Context, arg1 db.GetBudgetParams) (db.Budget, error)

GetBudget mocks base method.

func (*MockStore) GetBudgetAccount

func (m *MockStore) GetBudgetAccount(arg0 context.Context, arg1 db.GetBudgetAccountParams) (db.GetBudgetAccountRow, error)

GetBudgetAccount mocks base method.

func (*MockStore) GetBudgetDetails

func (m *MockStore) GetBudgetDetails(arg0 context.Context, arg1 db.GetBudgetDetailsParams) (db.Budget, error)

GetBudgetDetails mocks base method.

func (*MockStore) GetBudgets

func (m *MockStore) GetBudgets(arg0 context.Context, arg1 string) ([]db.Budget, error)

GetBudgets mocks base method.

func (*MockStore) GetCategories

func (m *MockStore) GetCategories(arg0 context.Context, arg1 uuid.UUID) ([]db.Category, error)

GetCategories mocks base method.

func (*MockStore) GetCategory

func (m *MockStore) GetCategory(arg0 context.Context, arg1 uuid.UUID) (db.Category, error)

GetCategory mocks base method.

func (*MockStore) GetCategoryGroup

func (m *MockStore) GetCategoryGroup(arg0 context.Context, arg1 uuid.UUID) (db.CategoryGroup, error)

GetCategoryGroup mocks base method.

func (*MockStore) GetCategoryGroupsByBudgetId

func (m *MockStore) GetCategoryGroupsByBudgetId(arg0 context.Context, arg1 uuid.UUID) ([]db.CategoryGroup, error)

GetCategoryGroupsByBudgetId mocks base method.

func (*MockStore) GetPayeeById

func (m *MockStore) GetPayeeById(arg0 context.Context, arg1 uuid.UUID) (db.Payee, error)

GetPayeeById mocks base method.

func (*MockStore) GetPayees

func (m *MockStore) GetPayees(arg0 context.Context, arg1 uuid.UUID) ([]db.Payee, error)

GetPayees mocks base method.

func (*MockStore) GetPendingVerifyEmails

func (m *MockStore) GetPendingVerifyEmails(arg0 context.Context, arg1 db.GetPendingVerifyEmailsParams) ([]db.VerifyEmail, error)

GetPendingVerifyEmails mocks base method.

func (*MockStore) GetSession

func (m *MockStore) GetSession(arg0 context.Context, arg1 uuid.UUID) (db.Session, error)

GetSession mocks base method.

func (*MockStore) GetTransactions

func (m *MockStore) GetTransactions(arg0 context.Context, arg1 uuid.UUID) ([]db.Transaction, error)

GetTransactions mocks base method.

func (*MockStore) GetTransactionsById

func (m *MockStore) GetTransactionsById(arg0 context.Context, arg1 uuid.UUID) (db.Transaction, error)

GetTransactionsById mocks base method.

func (*MockStore) GetTransactionsView

func (m *MockStore) GetTransactionsView(arg0 context.Context, arg1 uuid.UUID) ([]db.TransactionsView, error)

GetTransactionsView mocks base method.

func (*MockStore) GetTransactionsViewById

func (m *MockStore) GetTransactionsViewById(arg0 context.Context, arg1 uuid.UUID) (db.TransactionsView, error)

GetTransactionsViewById mocks base method.

func (*MockStore) GetUserByEmail

func (m *MockStore) GetUserByEmail(arg0 context.Context, arg1 string) (db.User, error)

GetUserByEmail mocks base method.

func (*MockStore) GetUserById

func (m *MockStore) GetUserById(arg0 context.Context, arg1 uuid.UUID) (db.User, error)

GetUserById mocks base method.

func (*MockStore) GetUserByUsername

func (m *MockStore) GetUserByUsername(arg0 context.Context, arg1 string) (db.User, error)

GetUserByUsername mocks base method.

func (*MockStore) GetUsers

func (m *MockStore) GetUsers(arg0 context.Context) ([]db.User, error)

GetUsers mocks base method.

func (*MockStore) GetVerifyEmails

func (m *MockStore) GetVerifyEmails(arg0 context.Context, arg1 db.GetVerifyEmailsParams) (db.VerifyEmail, error)

GetVerifyEmails mocks base method.

func (*MockStore) UpdateAccount

func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (db.Account, error)

UpdateAccount mocks base method.

func (*MockStore) UpdateCategory

func (m *MockStore) UpdateCategory(arg0 context.Context, arg1 db.UpdateCategoryParams) (db.Category, error)

UpdateCategory mocks base method.

func (*MockStore) UpdateCategoryGroup

func (m *MockStore) UpdateCategoryGroup(arg0 context.Context, arg1 db.UpdateCategoryGroupParams) (db.CategoryGroup, error)

UpdateCategoryGroup mocks base method.

func (*MockStore) UpdateCodeUsed

func (m *MockStore) UpdateCodeUsed(arg0 context.Context, arg1 string) (db.VerifyEmail, error)

UpdateCodeUsed mocks base method.

func (*MockStore) UpdatePayee

func (m *MockStore) UpdatePayee(arg0 context.Context, arg1 db.UpdatePayeeParams) (db.Payee, error)

UpdatePayee mocks base method.

func (*MockStore) UpdateTransaction

func (m *MockStore) UpdateTransaction(arg0 context.Context, arg1 db.UpdateTransactionParams) (db.Transaction, error)

UpdateTransaction mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(arg0 context.Context, arg1 db.UpdateUserParams) (db.User, error)

UpdateUser mocks base method.

func (*MockStore) UpdateUserTx

func (m *MockStore) UpdateUserTx(arg0 context.Context, arg1 db.UpdateUserParams, arg2 func(db.UserParams) error) (db.User, error)

UpdateUserTx mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) CreateAccount

func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockStoreMockRecorder) CreateBudget

func (mr *MockStoreMockRecorder) CreateBudget(arg0, arg1 any) *gomock.Call

CreateBudget indicates an expected call of CreateBudget.

func (*MockStoreMockRecorder) CreateCategory

func (mr *MockStoreMockRecorder) CreateCategory(arg0, arg1 any) *gomock.Call

CreateCategory indicates an expected call of CreateCategory.

func (*MockStoreMockRecorder) CreateCategoryGroup

func (mr *MockStoreMockRecorder) CreateCategoryGroup(arg0, arg1 any) *gomock.Call

CreateCategoryGroup indicates an expected call of CreateCategoryGroup.

func (*MockStoreMockRecorder) CreatePayee

func (mr *MockStoreMockRecorder) CreatePayee(arg0, arg1 any) *gomock.Call

CreatePayee indicates an expected call of CreatePayee.

func (*MockStoreMockRecorder) CreateSession

func (mr *MockStoreMockRecorder) CreateSession(arg0, arg1 any) *gomock.Call

CreateSession indicates an expected call of CreateSession.

func (*MockStoreMockRecorder) CreateTransaction

func (mr *MockStoreMockRecorder) CreateTransaction(arg0, arg1 any) *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockStoreMockRecorder) CreateUser

func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 any) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockStoreMockRecorder) CreateUserTx

func (mr *MockStoreMockRecorder) CreateUserTx(arg0, arg1, arg2 any) *gomock.Call

CreateUserTx indicates an expected call of CreateUserTx.

func (*MockStoreMockRecorder) CreateVerifyEmails

func (mr *MockStoreMockRecorder) CreateVerifyEmails(arg0, arg1 any) *gomock.Call

CreateVerifyEmails indicates an expected call of CreateVerifyEmails.

func (*MockStoreMockRecorder) DeleteAccount

func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 any) *gomock.Call

DeleteAccount indicates an expected call of DeleteAccount.

func (*MockStoreMockRecorder) DeleteAccounts

func (mr *MockStoreMockRecorder) DeleteAccounts(arg0, arg1 any) *gomock.Call

DeleteAccounts indicates an expected call of DeleteAccounts.

func (*MockStoreMockRecorder) DeleteBudget

func (mr *MockStoreMockRecorder) DeleteBudget(arg0, arg1 any) *gomock.Call

DeleteBudget indicates an expected call of DeleteBudget.

func (*MockStoreMockRecorder) DeleteBudgetTx

func (mr *MockStoreMockRecorder) DeleteBudgetTx(arg0, arg1 any) *gomock.Call

DeleteBudgetTx indicates an expected call of DeleteBudgetTx.

func (*MockStoreMockRecorder) DeleteBudgets

func (mr *MockStoreMockRecorder) DeleteBudgets(arg0, arg1 any) *gomock.Call

DeleteBudgets indicates an expected call of DeleteBudgets.

func (*MockStoreMockRecorder) DeleteCategories

func (mr *MockStoreMockRecorder) DeleteCategories(arg0, arg1 any) *gomock.Call

DeleteCategories indicates an expected call of DeleteCategories.

func (*MockStoreMockRecorder) DeleteCategory

func (mr *MockStoreMockRecorder) DeleteCategory(arg0, arg1 any) *gomock.Call

DeleteCategory indicates an expected call of DeleteCategory.

func (*MockStoreMockRecorder) DeleteCategoryGroup

func (mr *MockStoreMockRecorder) DeleteCategoryGroup(arg0, arg1 any) *gomock.Call

DeleteCategoryGroup indicates an expected call of DeleteCategoryGroup.

func (*MockStoreMockRecorder) DeleteCategoryGroupTx

func (mr *MockStoreMockRecorder) DeleteCategoryGroupTx(arg0, arg1 any) *gomock.Call

DeleteCategoryGroupTx indicates an expected call of DeleteCategoryGroupTx.

func (*MockStoreMockRecorder) DeleteCategoryGroups

func (mr *MockStoreMockRecorder) DeleteCategoryGroups(arg0, arg1 any) *gomock.Call

DeleteCategoryGroups indicates an expected call of DeleteCategoryGroups.

func (*MockStoreMockRecorder) DeletePayee

func (mr *MockStoreMockRecorder) DeletePayee(arg0, arg1 any) *gomock.Call

DeletePayee indicates an expected call of DeletePayee.

func (*MockStoreMockRecorder) DeleteTransaction

func (mr *MockStoreMockRecorder) DeleteTransaction(arg0, arg1 any) *gomock.Call

DeleteTransaction indicates an expected call of DeleteTransaction.

func (*MockStoreMockRecorder) DeleteUser

func (mr *MockStoreMockRecorder) DeleteUser(arg0, arg1 any) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockStoreMockRecorder) DeleteUserSessions

func (mr *MockStoreMockRecorder) DeleteUserSessions(arg0, arg1 any) *gomock.Call

DeleteUserSessions indicates an expected call of DeleteUserSessions.

func (*MockStoreMockRecorder) DeleteUserTx

func (mr *MockStoreMockRecorder) DeleteUserTx(arg0, arg1, arg2, arg3 any) *gomock.Call

DeleteUserTx indicates an expected call of DeleteUserTx.

func (*MockStoreMockRecorder) DeleteVerifyEmails

func (mr *MockStoreMockRecorder) DeleteVerifyEmails(arg0, arg1 any) *gomock.Call

DeleteVerifyEmails indicates an expected call of DeleteVerifyEmails.

func (*MockStoreMockRecorder) GetAccount

func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockStoreMockRecorder) GetAccounts

func (mr *MockStoreMockRecorder) GetAccounts(arg0, arg1 any) *gomock.Call

GetAccounts indicates an expected call of GetAccounts.

func (*MockStoreMockRecorder) GetBudget

func (mr *MockStoreMockRecorder) GetBudget(arg0, arg1 any) *gomock.Call

GetBudget indicates an expected call of GetBudget.

func (*MockStoreMockRecorder) GetBudgetAccount

func (mr *MockStoreMockRecorder) GetBudgetAccount(arg0, arg1 any) *gomock.Call

GetBudgetAccount indicates an expected call of GetBudgetAccount.

func (*MockStoreMockRecorder) GetBudgetDetails

func (mr *MockStoreMockRecorder) GetBudgetDetails(arg0, arg1 any) *gomock.Call

GetBudgetDetails indicates an expected call of GetBudgetDetails.

func (*MockStoreMockRecorder) GetBudgets

func (mr *MockStoreMockRecorder) GetBudgets(arg0, arg1 any) *gomock.Call

GetBudgets indicates an expected call of GetBudgets.

func (*MockStoreMockRecorder) GetCategories

func (mr *MockStoreMockRecorder) GetCategories(arg0, arg1 any) *gomock.Call

GetCategories indicates an expected call of GetCategories.

func (*MockStoreMockRecorder) GetCategory

func (mr *MockStoreMockRecorder) GetCategory(arg0, arg1 any) *gomock.Call

GetCategory indicates an expected call of GetCategory.

func (*MockStoreMockRecorder) GetCategoryGroup

func (mr *MockStoreMockRecorder) GetCategoryGroup(arg0, arg1 any) *gomock.Call

GetCategoryGroup indicates an expected call of GetCategoryGroup.

func (*MockStoreMockRecorder) GetCategoryGroupsByBudgetId

func (mr *MockStoreMockRecorder) GetCategoryGroupsByBudgetId(arg0, arg1 any) *gomock.Call

GetCategoryGroupsByBudgetId indicates an expected call of GetCategoryGroupsByBudgetId.

func (*MockStoreMockRecorder) GetPayeeById

func (mr *MockStoreMockRecorder) GetPayeeById(arg0, arg1 any) *gomock.Call

GetPayeeById indicates an expected call of GetPayeeById.

func (*MockStoreMockRecorder) GetPayees

func (mr *MockStoreMockRecorder) GetPayees(arg0, arg1 any) *gomock.Call

GetPayees indicates an expected call of GetPayees.

func (*MockStoreMockRecorder) GetPendingVerifyEmails

func (mr *MockStoreMockRecorder) GetPendingVerifyEmails(arg0, arg1 any) *gomock.Call

GetPendingVerifyEmails indicates an expected call of GetPendingVerifyEmails.

func (*MockStoreMockRecorder) GetSession

func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 any) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockStoreMockRecorder) GetTransactions

func (mr *MockStoreMockRecorder) GetTransactions(arg0, arg1 any) *gomock.Call

GetTransactions indicates an expected call of GetTransactions.

func (*MockStoreMockRecorder) GetTransactionsById

func (mr *MockStoreMockRecorder) GetTransactionsById(arg0, arg1 any) *gomock.Call

GetTransactionsById indicates an expected call of GetTransactionsById.

func (*MockStoreMockRecorder) GetTransactionsView

func (mr *MockStoreMockRecorder) GetTransactionsView(arg0, arg1 any) *gomock.Call

GetTransactionsView indicates an expected call of GetTransactionsView.

func (*MockStoreMockRecorder) GetTransactionsViewById

func (mr *MockStoreMockRecorder) GetTransactionsViewById(arg0, arg1 any) *gomock.Call

GetTransactionsViewById indicates an expected call of GetTransactionsViewById.

func (*MockStoreMockRecorder) GetUserByEmail

func (mr *MockStoreMockRecorder) GetUserByEmail(arg0, arg1 any) *gomock.Call

GetUserByEmail indicates an expected call of GetUserByEmail.

func (*MockStoreMockRecorder) GetUserById

func (mr *MockStoreMockRecorder) GetUserById(arg0, arg1 any) *gomock.Call

GetUserById indicates an expected call of GetUserById.

func (*MockStoreMockRecorder) GetUserByUsername

func (mr *MockStoreMockRecorder) GetUserByUsername(arg0, arg1 any) *gomock.Call

GetUserByUsername indicates an expected call of GetUserByUsername.

func (*MockStoreMockRecorder) GetUsers

func (mr *MockStoreMockRecorder) GetUsers(arg0 any) *gomock.Call

GetUsers indicates an expected call of GetUsers.

func (*MockStoreMockRecorder) GetVerifyEmails

func (mr *MockStoreMockRecorder) GetVerifyEmails(arg0, arg1 any) *gomock.Call

GetVerifyEmails indicates an expected call of GetVerifyEmails.

func (*MockStoreMockRecorder) UpdateAccount

func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 any) *gomock.Call

UpdateAccount indicates an expected call of UpdateAccount.

func (*MockStoreMockRecorder) UpdateCategory

func (mr *MockStoreMockRecorder) UpdateCategory(arg0, arg1 any) *gomock.Call

UpdateCategory indicates an expected call of UpdateCategory.

func (*MockStoreMockRecorder) UpdateCategoryGroup

func (mr *MockStoreMockRecorder) UpdateCategoryGroup(arg0, arg1 any) *gomock.Call

UpdateCategoryGroup indicates an expected call of UpdateCategoryGroup.

func (*MockStoreMockRecorder) UpdateCodeUsed

func (mr *MockStoreMockRecorder) UpdateCodeUsed(arg0, arg1 any) *gomock.Call

UpdateCodeUsed indicates an expected call of UpdateCodeUsed.

func (*MockStoreMockRecorder) UpdatePayee

func (mr *MockStoreMockRecorder) UpdatePayee(arg0, arg1 any) *gomock.Call

UpdatePayee indicates an expected call of UpdatePayee.

func (*MockStoreMockRecorder) UpdateTransaction

func (mr *MockStoreMockRecorder) UpdateTransaction(arg0, arg1 any) *gomock.Call

UpdateTransaction indicates an expected call of UpdateTransaction.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 any) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockStoreMockRecorder) UpdateUserTx

func (mr *MockStoreMockRecorder) UpdateUserTx(arg0, arg1, arg2 any) *gomock.Call

UpdateUserTx indicates an expected call of UpdateUserTx.

type MockTaskDistributor

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

MockTaskDistributor is a mock of TaskDistributor interface.

func NewMockTaskDistributor

func NewMockTaskDistributor(ctrl *gomock.Controller) *MockTaskDistributor

NewMockTaskDistributor creates a new mock instance.

func (*MockTaskDistributor) DistributeSendEmail

func (m *MockTaskDistributor) DistributeSendEmail(arg0 context.Context, arg1 *worker.SendEmailPayload, arg2 string) error

DistributeSendEmail mocks base method.

func (*MockTaskDistributor) EXPECT

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

type MockTaskDistributorMockRecorder

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

MockTaskDistributorMockRecorder is the mock recorder for MockTaskDistributor.

func (*MockTaskDistributorMockRecorder) DistributeSendEmail

func (mr *MockTaskDistributorMockRecorder) DistributeSendEmail(arg0, arg1, arg2 any) *gomock.Call

DistributeSendEmail indicates an expected call of DistributeSendEmail.

Jump to

Keyboard shortcuts

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