mock

package
v0.0.0-...-8b35975 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransactionService

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

MockTransactionService is a mock of TransactionService interface.

func NewMockTransactionService

func NewMockTransactionService(ctrl *gomock.Controller) *MockTransactionService

NewMockTransactionService creates a new mock instance.

func (*MockTransactionService) CreateUserTransaction

CreateUserTransaction mocks base method.

func (*MockTransactionService) DeleteTransactionByID

func (m *MockTransactionService) DeleteTransactionByID(ctx context.Context, transactionID int) error

DeleteTransactionByID mocks base method.

func (*MockTransactionService) DeleteUserAccountTransactions

func (m *MockTransactionService) DeleteUserAccountTransactions(ctx context.Context, userID, accountID int) error

DeleteUserAccountTransactions mocks base method.

func (*MockTransactionService) DeleteUserTransactions

func (m *MockTransactionService) DeleteUserTransactions(ctx context.Context, userID int) error

DeleteUserTransactions mocks base method.

func (*MockTransactionService) EXPECT

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

func (*MockTransactionService) GetUserTransactions

GetUserTransactions mocks base method.

func (*MockTransactionService) UpdateUserAccountTransactions

UpdateUserAccountTransactions mocks base method.

func (*MockTransactionService) UpdateUserTransactions

UpdateUserTransactions mocks base method.

type MockTransactionServiceMockRecorder

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

MockTransactionServiceMockRecorder is the mock recorder for MockTransactionService.

func (*MockTransactionServiceMockRecorder) CreateUserTransaction

func (mr *MockTransactionServiceMockRecorder) CreateUserTransaction(ctx, req interface{}) *gomock.Call

CreateUserTransaction indicates an expected call of CreateUserTransaction.

func (*MockTransactionServiceMockRecorder) DeleteTransactionByID

func (mr *MockTransactionServiceMockRecorder) DeleteTransactionByID(ctx, transactionID interface{}) *gomock.Call

DeleteTransactionByID indicates an expected call of DeleteTransactionByID.

func (*MockTransactionServiceMockRecorder) DeleteUserAccountTransactions

func (mr *MockTransactionServiceMockRecorder) DeleteUserAccountTransactions(ctx, userID, accountID interface{}) *gomock.Call

DeleteUserAccountTransactions indicates an expected call of DeleteUserAccountTransactions.

func (*MockTransactionServiceMockRecorder) DeleteUserTransactions

func (mr *MockTransactionServiceMockRecorder) DeleteUserTransactions(ctx, userID interface{}) *gomock.Call

DeleteUserTransactions indicates an expected call of DeleteUserTransactions.

func (*MockTransactionServiceMockRecorder) GetUserTransactions

func (mr *MockTransactionServiceMockRecorder) GetUserTransactions(ctx, req interface{}) *gomock.Call

GetUserTransactions indicates an expected call of GetUserTransactions.

func (*MockTransactionServiceMockRecorder) UpdateUserAccountTransactions

func (mr *MockTransactionServiceMockRecorder) UpdateUserAccountTransactions(ctx, req interface{}) *gomock.Call

UpdateUserAccountTransactions indicates an expected call of UpdateUserAccountTransactions.

func (*MockTransactionServiceMockRecorder) UpdateUserTransactions

func (mr *MockTransactionServiceMockRecorder) UpdateUserTransactions(ctx, req interface{}) *gomock.Call

UpdateUserTransactions indicates an expected call of UpdateUserTransactions.

Jump to

Keyboard shortcuts

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