Documentation
¶
Index ¶
- type StateMachineEventsTelemetryFactory
- type StateMachineEventsTelemetryFactory_Execute_Call
- func (_c *StateMachineEventsTelemetryFactory_Execute_Call) Return(stateMachineTelemetryConsumer protocol_state.StateMachineTelemetryConsumer) *StateMachineEventsTelemetryFactory_Execute_Call
- func (_c *StateMachineEventsTelemetryFactory_Execute_Call) Run(run func(candidateView uint64)) *StateMachineEventsTelemetryFactory_Execute_Call
- func (_c *StateMachineEventsTelemetryFactory_Execute_Call) RunAndReturn(run func(candidateView uint64) protocol_state.StateMachineTelemetryConsumer) *StateMachineEventsTelemetryFactory_Execute_Call
- type StateMachineEventsTelemetryFactory_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateMachineEventsTelemetryFactory ¶
StateMachineEventsTelemetryFactory is an autogenerated mock type for the StateMachineEventsTelemetryFactory type
func NewStateMachineEventsTelemetryFactory ¶
func NewStateMachineEventsTelemetryFactory(t interface {
mock.TestingT
Cleanup(func())
}) *StateMachineEventsTelemetryFactory
NewStateMachineEventsTelemetryFactory creates a new instance of StateMachineEventsTelemetryFactory. 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 (*StateMachineEventsTelemetryFactory) EXPECT ¶
func (_m *StateMachineEventsTelemetryFactory) EXPECT() *StateMachineEventsTelemetryFactory_Expecter
func (*StateMachineEventsTelemetryFactory) Execute ¶
func (_mock *StateMachineEventsTelemetryFactory) Execute(candidateView uint64) protocol_state.StateMachineTelemetryConsumer
Execute provides a mock function for the type StateMachineEventsTelemetryFactory
type StateMachineEventsTelemetryFactory_Execute_Call ¶
StateMachineEventsTelemetryFactory_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*StateMachineEventsTelemetryFactory_Execute_Call) Return ¶
func (_c *StateMachineEventsTelemetryFactory_Execute_Call) Return(stateMachineTelemetryConsumer protocol_state.StateMachineTelemetryConsumer) *StateMachineEventsTelemetryFactory_Execute_Call
func (*StateMachineEventsTelemetryFactory_Execute_Call) Run ¶
func (_c *StateMachineEventsTelemetryFactory_Execute_Call) Run(run func(candidateView uint64)) *StateMachineEventsTelemetryFactory_Execute_Call
func (*StateMachineEventsTelemetryFactory_Execute_Call) RunAndReturn ¶
func (_c *StateMachineEventsTelemetryFactory_Execute_Call) RunAndReturn(run func(candidateView uint64) protocol_state.StateMachineTelemetryConsumer) *StateMachineEventsTelemetryFactory_Execute_Call
type StateMachineEventsTelemetryFactory_Expecter ¶
type StateMachineEventsTelemetryFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*StateMachineEventsTelemetryFactory_Expecter) Execute ¶
func (_e *StateMachineEventsTelemetryFactory_Expecter) Execute(candidateView interface{}) *StateMachineEventsTelemetryFactory_Execute_Call
Execute is a helper method to define mock.On call
- candidateView uint64