mocks

package
v0.23.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 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 BankKeeper

type BankKeeper struct {
	mock.Mock
}

BankKeeper is an autogenerated mock type for the BankKeeper type

func NewBankKeeper

func NewBankKeeper(t mockConstructorTestingTNewBankKeeper) *BankKeeper

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

func (*BankKeeper) EXPECT added in v0.24.0

func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter

func (*BankKeeper) SendCoinsFromAccountToModule

func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt

func (*BankKeeper) SendCoinsFromModuleToAccount

func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error

SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt

type BankKeeper_Expecter added in v0.24.0

type BankKeeper_Expecter struct {
	// contains filtered or unexported fields
}

func (*BankKeeper_Expecter) SendCoinsFromAccountToModule added in v0.24.0

func (_e *BankKeeper_Expecter) SendCoinsFromAccountToModule(ctx interface{}, senderAddr interface{}, recipientModule interface{}, amt interface{}) *BankKeeper_SendCoinsFromAccountToModule_Call

SendCoinsFromAccountToModule is a helper method to define mock.On call

  • ctx types.Context
  • senderAddr types.AccAddress
  • recipientModule string
  • amt types.Coins

func (*BankKeeper_Expecter) SendCoinsFromModuleToAccount added in v0.24.0

func (_e *BankKeeper_Expecter) SendCoinsFromModuleToAccount(ctx interface{}, senderModule interface{}, recipientAddr interface{}, amt interface{}) *BankKeeper_SendCoinsFromModuleToAccount_Call

SendCoinsFromModuleToAccount is a helper method to define mock.On call

  • ctx types.Context
  • senderModule string
  • recipientAddr types.AccAddress
  • amt types.Coins

type BankKeeper_SendCoinsFromAccountToModule_Call added in v0.24.0

type BankKeeper_SendCoinsFromAccountToModule_Call struct {
	*mock.Call
}

BankKeeper_SendCoinsFromAccountToModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromAccountToModule'

func (*BankKeeper_SendCoinsFromAccountToModule_Call) Return added in v0.24.0

func (*BankKeeper_SendCoinsFromAccountToModule_Call) Run added in v0.24.0

func (*BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn added in v0.24.0

type BankKeeper_SendCoinsFromModuleToAccount_Call added in v0.24.0

type BankKeeper_SendCoinsFromModuleToAccount_Call struct {
	*mock.Call
}

BankKeeper_SendCoinsFromModuleToAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromModuleToAccount'

func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Return added in v0.24.0

func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Run added in v0.24.0

func (*BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn added in v0.24.0

Jump to

Keyboard shortcuts

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