setTesting static method
Set testing mode.
It is useful for testing.
Implementation
@visibleForTesting
static void setTesting() {
_isTesting = true;
ServiceLocator.instance.allowReassignment = true;
}
Set testing mode.
It is useful for testing.
@visibleForTesting
static void setTesting() {
_isTesting = true;
ServiceLocator.instance.allowReassignment = true;
}