mocks

package
v0.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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 Keeper

type Keeper struct {
	mock.Mock
}

Keeper is an autogenerated mock type for the Keeper type

func NewKeeper

func NewKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Keeper

NewKeeper creates a new instance of Keeper. 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 (*Keeper) GetAllCurrencyPairs

func (_m *Keeper) GetAllCurrencyPairs(ctx types.Context) []oracletypes.CurrencyPair

GetAllCurrencyPairs provides a mock function with given fields: ctx

func (*Keeper) SetPriceForCurrencyPair

func (_m *Keeper) SetPriceForCurrencyPair(ctx types.Context, cp oracletypes.CurrencyPair, qp oracletypes.QuotePrice) error

SetPriceForCurrencyPair provides a mock function with given fields: ctx, cp, qp

Jump to

Keyboard shortcuts

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