- Chapter 3 Bad Smells in Code
- from Refactoring: Improving the Design of Existing Code
- Publisher: Addison-Wesley Professional
- Released: November 2018
This is of course true if the function or class is being tested, but not if it is there in a support role in the test case, for testing something else.