Description
Perl tests can override functions inside a module to isolate behavior or simulate hard-to-reproduce conditions. This helps unit tests avoid real network calls, time delays, or external dependencies.
It is a developer testing library. Overrides should be restored after each test so one case does not silently change another.