resetForTest static method

void resetForTest()

Test-only: resets the cached state. Do not call in production code.

Implementation

static void resetForTest() {
  _loading = null;
  _refCount = 0;
}