debugResetCustomUrlStrategy function
Resets everything to do with custom URL strategy.
This should only be used in tests to reset things back after each test.
Implementation
void debugResetCustomUrlStrategy() {
  isCustomUrlStrategySet = false;
  _customUrlStrategyCanBeSet = true;
  _customUrlStrategy = null;
}