mocks

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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 AccountKeeper

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper

func NewAccountKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *AccountKeeper

NewAccountKeeper creates a new instance of AccountKeeper. 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 (*AccountKeeper) GetAccount

func (_m *AccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) authtypes.AccountI

GetAccount provides a mock function with given fields: ctx, addr

func (*AccountKeeper) GetModuleAccount

func (_m *AccountKeeper) GetModuleAccount(ctx types.Context, name string) authtypes.ModuleAccountI

GetModuleAccount provides a mock function with given fields: ctx, name

func (*AccountKeeper) GetModuleAddress

func (_m *AccountKeeper) GetModuleAddress(name string) types.AccAddress

GetModuleAddress provides a mock function with given fields: name

Jump to

Keyboard shortcuts

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