Documentation
¶
Index ¶
- type StateMachineFactoryMethod
- type StateMachineFactoryMethod_Execute_Call
- func (_c *StateMachineFactoryMethod_Execute_Call) Return(stateMachine epochs.StateMachine, err error) *StateMachineFactoryMethod_Execute_Call
- func (_c *StateMachineFactoryMethod_Execute_Call) Run(run func(candidateView uint64, parentState *flow.RichEpochStateEntry)) *StateMachineFactoryMethod_Execute_Call
- func (_c *StateMachineFactoryMethod_Execute_Call) RunAndReturn(...) *StateMachineFactoryMethod_Execute_Call
- type StateMachineFactoryMethod_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateMachineFactoryMethod ¶
StateMachineFactoryMethod is an autogenerated mock type for the StateMachineFactoryMethod type
func NewStateMachineFactoryMethod ¶
func NewStateMachineFactoryMethod(t interface {
mock.TestingT
Cleanup(func())
}) *StateMachineFactoryMethod
NewStateMachineFactoryMethod creates a new instance of StateMachineFactoryMethod. 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 (*StateMachineFactoryMethod) EXPECT ¶
func (_m *StateMachineFactoryMethod) EXPECT() *StateMachineFactoryMethod_Expecter
func (*StateMachineFactoryMethod) Execute ¶
func (_mock *StateMachineFactoryMethod) Execute(candidateView uint64, parentState *flow.RichEpochStateEntry) (epochs.StateMachine, error)
Execute provides a mock function for the type StateMachineFactoryMethod
type StateMachineFactoryMethod_Execute_Call ¶
StateMachineFactoryMethod_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*StateMachineFactoryMethod_Execute_Call) Return ¶
func (_c *StateMachineFactoryMethod_Execute_Call) Return(stateMachine epochs.StateMachine, err error) *StateMachineFactoryMethod_Execute_Call
func (*StateMachineFactoryMethod_Execute_Call) Run ¶
func (_c *StateMachineFactoryMethod_Execute_Call) Run(run func(candidateView uint64, parentState *flow.RichEpochStateEntry)) *StateMachineFactoryMethod_Execute_Call
func (*StateMachineFactoryMethod_Execute_Call) RunAndReturn ¶
func (_c *StateMachineFactoryMethod_Execute_Call) RunAndReturn(run func(candidateView uint64, parentState *flow.RichEpochStateEntry) (epochs.StateMachine, error)) *StateMachineFactoryMethod_Execute_Call
type StateMachineFactoryMethod_Expecter ¶
type StateMachineFactoryMethod_Expecter struct {
// contains filtered or unexported fields
}
func (*StateMachineFactoryMethod_Expecter) Execute ¶
func (_e *StateMachineFactoryMethod_Expecter) Execute(candidateView interface{}, parentState interface{}) *StateMachineFactoryMethod_Execute_Call
Execute is a helper method to define mock.On call
- candidateView uint64
- parentState *flow.RichEpochStateEntry
Click to show internal directories.
Click to hide internal directories.