mock_service

package
v0.0.0-...-1a1045e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIRepo

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

MockIRepo is a mock of IRepo interface.

func NewMockIRepo

func NewMockIRepo(ctrl *gomock.Controller) *MockIRepo

NewMockIRepo creates a new mock instance.

func (*MockIRepo) Close

func (m *MockIRepo) Close(ctx context.Context) error

Close mocks base method.

func (*MockIRepo) CreateNewTransaction

func (m *MockIRepo) CreateNewTransaction(ctx context.Context, idFrom uuid.UUID, operation string, sum float64, idTo uuid.UUID, description string) error

CreateNewTransaction mocks base method.

func (*MockIRepo) EXPECT

func (m *MockIRepo) EXPECT() *MockIRepoMockRecorder

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

func (*MockIRepo) GetBalance

func (m *MockIRepo) GetBalance(ctx context.Context, inp *domain.BalanceInput) (float64, error)

GetBalance mocks base method.

func (*MockIRepo) GetTransactionsList

func (m *MockIRepo) GetTransactionsList(ctx context.Context, inp *domain.TransactionsListInput) ([]domain.TransactionsList, error)

GetTransactionsList mocks base method.

func (*MockIRepo) MakeRemittance

func (m *MockIRepo) MakeRemittance(ctx context.Context, inp *domain.RemittanceInput) error

MakeRemittance mocks base method.

func (*MockIRepo) MakeTransaction

func (m *MockIRepo) MakeTransaction(ctx context.Context, inp *domain.TransactionInput) error

MakeTransaction mocks base method.

type MockIRepoMockRecorder

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

MockIRepoMockRecorder is the mock recorder for MockIRepo.

func (*MockIRepoMockRecorder) Close

func (mr *MockIRepoMockRecorder) Close(ctx interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockIRepoMockRecorder) CreateNewTransaction

func (mr *MockIRepoMockRecorder) CreateNewTransaction(ctx, idFrom, operation, sum, idTo, description interface{}) *gomock.Call

CreateNewTransaction indicates an expected call of CreateNewTransaction.

func (*MockIRepoMockRecorder) GetBalance

func (mr *MockIRepoMockRecorder) GetBalance(ctx, inp interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockIRepoMockRecorder) GetTransactionsList

func (mr *MockIRepoMockRecorder) GetTransactionsList(ctx, inp interface{}) *gomock.Call

GetTransactionsList indicates an expected call of GetTransactionsList.

func (*MockIRepoMockRecorder) MakeRemittance

func (mr *MockIRepoMockRecorder) MakeRemittance(ctx, inp interface{}) *gomock.Call

MakeRemittance indicates an expected call of MakeRemittance.

func (*MockIRepoMockRecorder) MakeTransaction

func (mr *MockIRepoMockRecorder) MakeTransaction(ctx, inp interface{}) *gomock.Call

MakeTransaction indicates an expected call of MakeTransaction.

Jump to

Keyboard shortcuts

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