mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 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 MessageSender

type MessageSender struct {
	mock.Mock
}

MessageSender is an autogenerated mock type for the MessageSender type

func NewMessageSender

func NewMessageSender(t mockConstructorTestingTNewMessageSender) *MessageSender

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

func (*MessageSender) SendMsg

func (_m *MessageSender) SendMsg(ctx context.Context, msg types.Msg) (*types.TxResponse, error)

SendMsg provides a mock function with given fields: ctx, msg

Jump to

Keyboard shortcuts

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