mock

package
v0.37.16 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 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 with given fields: epoch

Jump to

Keyboard shortcuts

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