mocks

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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 Beefy

type Beefy struct {
	mock.Mock
}

Beefy is an autogenerated mock type for the Beefy type

func NewBeefy

func NewBeefy(t NewBeefyT) *Beefy

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

func (*Beefy) GetFinalizedHead

func (_m *Beefy) GetFinalizedHead() (types.Hash, error)

GetFinalizedHead provides a mock function with given fields:

func (*Beefy) SubscribeJustifications

func (_m *Beefy) SubscribeJustifications() (*beefy.JustificationsSubscription, error)

SubscribeJustifications provides a mock function with given fields:

type NewBeefyT

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

Jump to

Keyboard shortcuts

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