mocks

package
v0.0.0-...-d05f80c Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) CreateWallet

func (m *MockRepository) CreateWallet(arg0 string) error

CreateWallet mocks base method

func (*MockRepository) EXPECT

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

func (*MockRepository) GetOperations

func (m *MockRepository) GetOperations(arg0 dto.OperationsFilter) ([]dto.Operation, error)

GetOperations mocks base method

func (*MockRepository) GetWallet

func (m *MockRepository) GetWallet(arg0 string) (*dto.Wallet, error)

GetWallet mocks base method

func (*MockRepository) GetWalletsForUpdateTx

func (m *MockRepository) GetWalletsForUpdateTx(arg0 *sqlx.Tx, arg1 []string) ([]dto.Wallet, error)

GetWalletsForUpdateTx mocks base method

func (*MockRepository) IncreaseWalletBalance

func (m *MockRepository) IncreaseWalletBalance(arg0 string, arg1 uint64) error

IncreaseWalletBalance mocks base method

func (*MockRepository) RunWithTransaction

func (m *MockRepository) RunWithTransaction(arg0 func(*sqlx.Tx) error) error

RunWithTransaction mocks base method

func (*MockRepository) TransferTx

func (m *MockRepository) TransferTx(arg0 *sqlx.Tx, arg1, arg2 string, arg3 uint64) error

TransferTx mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) CreateWallet

func (mr *MockRepositoryMockRecorder) CreateWallet(arg0 interface{}) *gomock.Call

CreateWallet indicates an expected call of CreateWallet

func (*MockRepositoryMockRecorder) GetOperations

func (mr *MockRepositoryMockRecorder) GetOperations(arg0 interface{}) *gomock.Call

GetOperations indicates an expected call of GetOperations

func (*MockRepositoryMockRecorder) GetWallet

func (mr *MockRepositoryMockRecorder) GetWallet(arg0 interface{}) *gomock.Call

GetWallet indicates an expected call of GetWallet

func (*MockRepositoryMockRecorder) GetWalletsForUpdateTx

func (mr *MockRepositoryMockRecorder) GetWalletsForUpdateTx(arg0, arg1 interface{}) *gomock.Call

GetWalletsForUpdateTx indicates an expected call of GetWalletsForUpdateTx

func (*MockRepositoryMockRecorder) IncreaseWalletBalance

func (mr *MockRepositoryMockRecorder) IncreaseWalletBalance(arg0, arg1 interface{}) *gomock.Call

IncreaseWalletBalance indicates an expected call of IncreaseWalletBalance

func (*MockRepositoryMockRecorder) RunWithTransaction

func (mr *MockRepositoryMockRecorder) RunWithTransaction(arg0 interface{}) *gomock.Call

RunWithTransaction indicates an expected call of RunWithTransaction

func (*MockRepositoryMockRecorder) TransferTx

func (mr *MockRepositoryMockRecorder) TransferTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

TransferTx indicates an expected call of TransferTx

Jump to

Keyboard shortcuts

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