Use this when you want to increase test coverage but the code references global variables, depends on Date.now(), or calls fetch directly — making unit testing impossible. Paste the code to get side effects separated from pure functions, dependencies made injectable, and unit tests written.