mocks

package
v0.3.0-beta8-tmp-bridge Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpNodeClienter

type OpNodeClienter struct {
	mock.Mock
}

OpNodeClienter is an autogenerated mock type for the OpNodeClienter type

func NewOpNodeClienter

func NewOpNodeClienter(t interface {
	mock.TestingT
	Cleanup(func())
}) *OpNodeClienter

NewOpNodeClienter creates a new instance of OpNodeClienter. 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 (*OpNodeClienter) EXPECT

func (*OpNodeClienter) FinalizedL2Block

func (_m *OpNodeClienter) FinalizedL2Block() (*opnode.BlockInfo, error)

FinalizedL2Block provides a mock function with no fields

type OpNodeClienter_Expecter

type OpNodeClienter_Expecter struct {
	// contains filtered or unexported fields
}

func (*OpNodeClienter_Expecter) FinalizedL2Block

FinalizedL2Block is a helper method to define mock.On call

type OpNodeClienter_FinalizedL2Block_Call

type OpNodeClienter_FinalizedL2Block_Call struct {
	*mock.Call
}

OpNodeClienter_FinalizedL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizedL2Block'

func (*OpNodeClienter_FinalizedL2Block_Call) Return

func (*OpNodeClienter_FinalizedL2Block_Call) Run

func (*OpNodeClienter_FinalizedL2Block_Call) RunAndReturn

Jump to

Keyboard shortcuts

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