debugClearStreamRefreshers function
Clears the registry between tests. It lives for the process, so without this one test's registrations leak into the next.
Implementation
@visibleForTesting
void debugClearStreamRefreshers() {
_refreshers.clear();
}