Allows to create mock implementations of
Heartbeat, compatible to the "axHeartbeat" injection.
Creates a mock for the "axHeartbeat" injection of a widget.
||a fresh mock instance|
A mock version of
Heartbeat, with additional methods.
Offers spied-upon version of the usual axHeartbeat methods, as well as a
flush method for synchronous
scheduling of heartbeat events, and a
reset methods to clear all listeners.
Reset the internal state of the mock, clearing all
onNext callbacks have been schedules, synchronously runs all scheduled
onAfterNext callbacks, clearing the corresponding queues in the process.