resetForTests static method
Resets internal state between tests. Does nothing if asserts are disabled.
Implementation
@visibleForTesting
static void resetForTests() {
assert(() {
_actions.clear();
_ids.clear();
_nextId = 0;
return true;
}());
}