mock

package
v0.43.1-rc.1.access-me... Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: AGPL-3.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 Blocks

type Blocks struct {
	mock.Mock
}

Blocks is an autogenerated mock type for the Blocks type

func NewBlocks

func NewBlocks(t interface {
	mock.TestingT
	Cleanup(func())
}) *Blocks

NewBlocks creates a new instance of Blocks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Blocks) FinalizedHeader

func (_m *Blocks) FinalizedHeader() (*flow.Header, error)

FinalizedHeader provides a mock function with no fields

func (*Blocks) HeaderByID

func (_m *Blocks) HeaderByID(id flow.Identifier) (*flow.Header, error)

HeaderByID provides a mock function with given fields: id

func (*Blocks) IndexedHeight

func (_m *Blocks) IndexedHeight() (uint64, error)

IndexedHeight provides a mock function with no fields

func (*Blocks) SealedHeader

func (_m *Blocks) SealedHeader() (*flow.Header, error)

SealedHeader provides a mock function with no fields

Jump to

Keyboard shortcuts

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