Skip navigation.

OOP Case Study: The Bank Account Class (Part 3)

OOP Case Study: The Bank Account Class (Part 3)

Mock Objects
I have been looking mock objects and test driven design lately. The main issue, I see brought up over and over again is that people want to modify existing code by inserting mock objects, but that it is hard to do because of code dependencies. I argue that proper use of abstraction at the implementation level would make it much easier.

Author: Christopher Diggins
Published: Artima, November 18, 2004