mock

package
v0.0.0-...-2ee53ed Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trader

type Trader struct {
	mock.Mock
}

Trader is an autogenerated mock type for the Trader type

func NewTrader

func NewTrader(t mockConstructorTestingTNewTrader) *Trader

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

func (*Trader) Buy

func (_m *Trader) Buy(amount decimal.Decimal) error

Buy provides a mock function with given fields: amount

func (*Trader) Sell

func (_m *Trader) Sell(amount decimal.Decimal) error

Sell provides a mock function with given fields: amount

Jump to

Keyboard shortcuts

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