mocks

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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 Author

type Author struct {
	mock.Mock
}

Author is an autogenerated mock type for the Author type

func NewAuthor

func NewAuthor(t NewAuthorT) *Author

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

func (*Author) PendingExtrinsics

func (_m *Author) PendingExtrinsics() ([]types.Extrinsic, error)

PendingExtrinsics provides a mock function with given fields:

func (*Author) SubmitAndWatchExtrinsic

func (_m *Author) SubmitAndWatchExtrinsic(xt types.Extrinsic) (*author.ExtrinsicStatusSubscription, error)

SubmitAndWatchExtrinsic provides a mock function with given fields: xt

func (*Author) SubmitExtrinsic

func (_m *Author) SubmitExtrinsic(xt types.Extrinsic) (types.Hash, error)

SubmitExtrinsic provides a mock function with given fields: xt

type NewAuthorT

type NewAuthorT interface {
	mock.TestingT
	Cleanup(func())
}

Jump to

Keyboard shortcuts

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