Chapter 3 is about stubs. The meat of this chapter is on the techniques used to break dependencies.
To use most of these techniques you need to extract an interface and inject a stub into the class under test. The options presented in the book are:
- Receive an interface at the constructor level
- Receive an interface [...]
Archives
Blogroll
Subscribe