ResetInstance extension
Extension on GetInterface providing a method to reset all registered instances.
- on
Methods
-
resetInstance(
{bool clearRouteBindings = true}) → bool - Clears all registered instances and/or tags. This method is particularly useful for cleaning up resources at the end or tearDown of unit tests.