mocks

package
v0.0.0-...-9cf9cea Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDistributionAccountResolver

type MockDistributionAccountResolver struct {
	mock.Mock
}

MockDistributionAccountResolver is an autogenerated mock type for the DistributionAccountResolver type

func NewMockDistributionAccountResolver

func NewMockDistributionAccountResolver(t mockConstructorTestingTNewMockDistributionAccountResolver) *MockDistributionAccountResolver

NewMockDistributionAccountResolver creates a new instance of MockDistributionAccountResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockDistributionAccountResolver) DistributionAccount

func (_m *MockDistributionAccountResolver) DistributionAccount(ctx context.Context, tenantID string) (string, error)

DistributionAccount provides a mock function with given fields: ctx, tenantID

func (*MockDistributionAccountResolver) DistributionAccountFromContext

func (_m *MockDistributionAccountResolver) DistributionAccountFromContext(ctx context.Context) (string, error)

DistributionAccountFromContext provides a mock function with given fields: ctx

func (*MockDistributionAccountResolver) HostDistributionAccount

func (_m *MockDistributionAccountResolver) HostDistributionAccount() string

HostDistributionAccount provides a mock function with given fields:

type MockSignatureClient

type MockSignatureClient struct {
	mock.Mock
}

MockSignatureClient is an autogenerated mock type for the SignatureClient type

func NewMockSignatureClient

func NewMockSignatureClient(t mockConstructorTestingTNewMockSignatureClient) *MockSignatureClient

NewMockSignatureClient creates a new instance of MockSignatureClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockSignatureClient) BatchInsert

func (_m *MockSignatureClient) BatchInsert(ctx context.Context, number int) ([]string, error)

BatchInsert provides a mock function with given fields: ctx, number

func (*MockSignatureClient) Delete

func (_m *MockSignatureClient) Delete(ctx context.Context, publicKey string) error

Delete provides a mock function with given fields: ctx, publicKey

func (*MockSignatureClient) NetworkPassphrase

func (_m *MockSignatureClient) NetworkPassphrase() string

NetworkPassphrase provides a mock function with given fields:

func (*MockSignatureClient) SignFeeBumpStellarTransaction

func (_m *MockSignatureClient) SignFeeBumpStellarTransaction(ctx context.Context, feeBumpStellarTx *txnbuild.FeeBumpTransaction, stellarAccounts ...string) (*txnbuild.FeeBumpTransaction, error)

SignFeeBumpStellarTransaction provides a mock function with given fields: ctx, feeBumpStellarTx, stellarAccounts

func (*MockSignatureClient) SignStellarTransaction

func (_m *MockSignatureClient) SignStellarTransaction(ctx context.Context, stellarTx *txnbuild.Transaction, stellarAccounts ...string) (*txnbuild.Transaction, error)

SignStellarTransaction provides a mock function with given fields: ctx, stellarTx, stellarAccounts

func (*MockSignatureClient) Type

func (_m *MockSignatureClient) Type() string

Type provides a mock function with given fields:

Jump to

Keyboard shortcuts

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