mocks

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountService

type MockAccountService struct {
	mock.Mock
}

MockAccountService implements AccountServiceInterface for testing

func (*MockAccountService) CheckAliasAddress

func (m *MockAccountService) CheckAliasAddress(ctx context.Context, alias string) (*dataserviceapi.AliasAddress, error)

func (*MockAccountService) CheckBalance

func (m *MockAccountService) CheckBalance(ctx context.Context, publicKey string) (*models.BalanceResult, error)

func (*MockAccountService) CreateAccount

func (m *MockAccountService) CreateAccount(ctx context.Context) (*models.AccountResult, error)

func (*MockAccountService) FetchTransactions

func (m *MockAccountService) FetchTransactions(ctx context.Context, publicKey string) ([]dataserviceapi.Last10TxResponse, error)

func (*MockAccountService) FetchVouchers

func (m *MockAccountService) FetchVouchers(ctx context.Context, publicKey string) ([]dataserviceapi.TokenHoldings, error)

func (*MockAccountService) TokenTransfer

func (m *MockAccountService) TokenTransfer(ctx context.Context, amount, from, to, tokenAddress string) (*models.TokenTransferResponse, error)

func (*MockAccountService) TrackAccountStatus

func (m *MockAccountService) TrackAccountStatus(ctx context.Context, trackingId string) (*models.TrackStatusResult, error)

func (*MockAccountService) VoucherData

func (m *MockAccountService) VoucherData(ctx context.Context, address string) (*models.VoucherDataResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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