mocks

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.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 KeeperUtilI

type KeeperUtilI[T codec.ProtoMarshaler] struct {
	mock.Mock
}

KeeperUtilI is an autogenerated mock type for the KeeperUtilI type

func NewKeeperUtilI

func NewKeeperUtilI[T codec.ProtoMarshaler](t mockConstructorTestingTNewKeeperUtilI) *KeeperUtilI[T]

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

func (*KeeperUtilI[T]) Load

func (_m *KeeperUtilI[T]) Load(store types.KVStore, pu keeper.ProtoUnmarshaler, key []byte) (T, error)

Load provides a mock function with given fields: store, pu, key

func (*KeeperUtilI[T]) Save

func (_m *KeeperUtilI[T]) Save(store types.KVStore, pm keeper.ProtoMarshaler, key []byte, val codec.ProtoMarshaler) error

Save provides a mock function with given fields: store, pm, key, val

Jump to

Keyboard shortcuts

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