mock

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 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 NewEpochComponentsFactoryT) *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.

func (*EpochComponentsFactory) Create

Create provides a mock function with given fields: epoch

type NewEpochComponentsFactoryT added in v0.27.0

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

Jump to

Keyboard shortcuts

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