mock

package
v0.46.1-experimental-i... Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpochComponentsFactory

type EpochComponentsFactory struct {
	mock.Mock
}

EpochComponentsFactory is an autogenerated mock type for the EpochComponentsFactory type

func NewEpochComponentsFactory added in v0.26.1

func NewEpochComponentsFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *EpochComponentsFactory

NewEpochComponentsFactory creates a new instance of EpochComponentsFactory. 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 (*EpochComponentsFactory) Create

Create provides a mock function for the type EpochComponentsFactory

func (*EpochComponentsFactory) EXPECT added in v0.46.0

type EpochComponentsFactory_Create_Call added in v0.46.0

type EpochComponentsFactory_Create_Call struct {
	*mock.Call
}

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

func (*EpochComponentsFactory_Create_Call) Return added in v0.46.0

func (*EpochComponentsFactory_Create_Call) Run added in v0.46.0

type EpochComponentsFactory_Expecter added in v0.46.0

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

func (*EpochComponentsFactory_Expecter) Create added in v0.46.0

Create is a helper method to define mock.On call

  • epoch protocol.CommittedEpoch

Jump to

Keyboard shortcuts

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