Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpochComponentsFactory ¶
EpochComponentsFactory is an autogenerated mock type for the EpochComponentsFactory type
func NewEpochComponentsFactory ¶ added in v0.26.1
func NewEpochComponentsFactory(t mockConstructorTestingTNewEpochComponentsFactory) *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 ¶
func (_m *EpochComponentsFactory) Create(epoch protocol.Epoch) (cluster.State, component.Component, module.ReadyDoneAware, module.HotStuff, hotstuff.VoteAggregator, hotstuff.TimeoutAggregator, component.Component, error)
Create provides a mock function with given fields: epoch
Click to show internal directories.
Click to hide internal directories.