Refactoring Java Code for Unit Testing
Learn how the refactoring of a Java program make it easier to perform unit testing. Starting with a typical non-object oriented solution, the design is restructured into several classes and unit tests are created for them.