mock_v1

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_v1 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICache

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

MockICache is a mock of ICache interface.

func NewMockICache

func NewMockICache(ctrl *gomock.Controller) *MockICache

NewMockICache creates a new mock instance.

func (*MockICache) CacheKey

func (m *MockICache) CacheKey(ctx context.Context, key uuid.UUID) error

CacheKey mocks base method.

func (*MockICache) CheckKey

func (m *MockICache) CheckKey(ctx context.Context, key uuid.UUID) (bool, error)

CheckKey mocks base method.

func (*MockICache) EXPECT

func (m *MockICache) EXPECT() *MockICacheMockRecorder

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

type MockICacheMockRecorder

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

MockICacheMockRecorder is the mock recorder for MockICache.

func (*MockICacheMockRecorder) CacheKey

func (mr *MockICacheMockRecorder) CacheKey(ctx, key interface{}) *gomock.Call

CacheKey indicates an expected call of CacheKey.

func (*MockICacheMockRecorder) CheckKey

func (mr *MockICacheMockRecorder) CheckKey(ctx, key interface{}) *gomock.Call

CheckKey indicates an expected call of CheckKey.

type MockICurrency

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

MockICurrency is a mock of ICurrency interface.

func NewMockICurrency

func NewMockICurrency(ctrl *gomock.Controller) *MockICurrency

NewMockICurrency creates a new mock instance.

func (*MockICurrency) EXPECT

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

func (*MockICurrency) GetCur

func (m *MockICurrency) GetCur(cur string, sum float64) (string, error)

GetCur mocks base method.

type MockICurrencyMockRecorder

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

MockICurrencyMockRecorder is the mock recorder for MockICurrency.

func (*MockICurrencyMockRecorder) GetCur

func (mr *MockICurrencyMockRecorder) GetCur(cur, sum interface{}) *gomock.Call

GetCur indicates an expected call of GetCur.

type MockIService

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

MockIService is a mock of IService interface.

func NewMockIService

func NewMockIService(ctrl *gomock.Controller) *MockIService

NewMockIService creates a new mock instance.

func (*MockIService) EXPECT

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

func (*MockIService) GetBalance

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

GetBalance mocks base method.

func (*MockIService) GetTransactionsList

GetTransactionsList mocks base method.

func (*MockIService) MakeRemittance

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

MakeRemittance mocks base method.

func (*MockIService) MakeTransaction

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

MakeTransaction mocks base method.

type MockIServiceMockRecorder

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

MockIServiceMockRecorder is the mock recorder for MockIService.

func (*MockIServiceMockRecorder) GetBalance

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

GetBalance indicates an expected call of GetBalance.

func (*MockIServiceMockRecorder) GetTransactionsList

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

GetTransactionsList indicates an expected call of GetTransactionsList.

func (*MockIServiceMockRecorder) MakeRemittance

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

MakeRemittance indicates an expected call of MakeRemittance.

func (*MockIServiceMockRecorder) MakeTransaction

func (mr *MockIServiceMockRecorder) 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