replaceInstance<T> abstract method
Null safety
- T instance
Replaces an instance record with a concrete instance.
This function should only be used for unit testing.
Any other use is discouraged.
Implementation
void replaceInstance<T>(T instance);