mock

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 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 ClientOption

type ClientOption struct {
	mock.Mock
}

ClientOption is an autogenerated mock type for the ClientOption type

func NewClientOption

func NewClientOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientOption

NewClientOption creates a new instance of ClientOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientOption) Execute

func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)

Execute provides a mock function with given fields: _a0

type ClientService

type ClientService struct {
	mock.Mock
}

ClientService is an autogenerated mock type for the ClientService type

func NewClientService

func NewClientService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientService

NewClientService creates a new instance of ClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientService) CreateBSCTransaction added in v0.3.0

CreateBSCTransaction provides a mock function with given fields: params, opts

func (*ClientService) CreateEthereumTransaction

CreateEthereumTransaction provides a mock function with given fields: params, opts

func (*ClientService) CreateMaticTransaction

CreateMaticTransaction provides a mock function with given fields: params, opts

func (*ClientService) CreateTronTransaction

CreateTronTransaction provides a mock function with given fields: params, opts

func (*ClientService) CreateWallet

CreateWallet provides a mock function with given fields: params, opts

func (*ClientService) DeleteWallet

DeleteWallet provides a mock function with given fields: params, opts

func (*ClientService) GetWallet

func (_m *ClientService) GetWallet(params *wallet.GetWalletParams, opts ...wallet.ClientOption) (*wallet.GetWalletOK, error)

GetWallet provides a mock function with given fields: params, opts

func (*ClientService) SetTransport

func (_m *ClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

Jump to

Keyboard shortcuts

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