Documentation ¶
Overview ¶
Package mock contains utilities and types that simulate behaviour of other components of the app, with the possibility to force outputs. outcomes and errors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Addresses ¶ added in v0.3.0
func Addresses() (sdk.AccAddress, sdk.AccAddress)
Types ¶
type SupplyKeeper ¶
type SupplyKeeperMock ¶
type SupplyKeeperMock struct {
// contains filtered or unexported fields
}
func NewSupplyKeeper ¶
func NewSupplyKeeper() *SupplyKeeperMock
func (*SupplyKeeperMock) Mock ¶
func (s *SupplyKeeperMock) Mock() SupplyKeeper
func (*SupplyKeeperMock) SetSendCoinsFromAccountToModule ¶
func (s *SupplyKeeperMock) SetSendCoinsFromAccountToModule(f func(ctx sdk.Context, addr sdk.AccAddress, moduleName string, coins sdk.Coins) error)
Click to show internal directories.
Click to hide internal directories.