O'Reilly logo
  • Joel Gerber thinks this is interesting:

Tests that highlight an object’s neighbors help us to see whether they are peers, or should instead be internal to the target object.


Cover of Growing Object-Oriented Software, Guided by Tests


What is meant here? Should objects instantiate non mockable objects internally?