Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Communicator ¶ added in v0.32.0
Communicator is an autogenerated mock type for the Communicator type
func NewCommunicator ¶ added in v0.32.0
func NewCommunicator(t interface { mock.TestingT Cleanup(func()) }) *Communicator
NewCommunicator creates a new instance of Communicator. 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 (*Communicator) CallAvailableNode ¶ added in v0.32.0
func (_m *Communicator) CallAvailableNode(nodes flow.GenericIdentityList[flow.IdentitySkeleton], call func(*flow.IdentitySkeleton) error, shouldTerminateOnError func(*flow.IdentitySkeleton, error) bool) error
CallAvailableNode provides a mock function with given fields: nodes, call, shouldTerminateOnError
Click to show internal directories.
Click to hide internal directories.