Generated a blank project using Maven: mvn archetype:generate -DgroupId=tdd.by.example -DartifactId=money-example -DarchetypeArtifactId=maven-archetype-quickstart -Dversion=1.0
Changed JUnit version to be 4.11.
Working on the note:  * 2 = 0.
Renamed note file to be to-do-list.txt.
Wrote testMultiplication().
Added notes in to-do-list: Make amount private; Dollar side-effects? Money rounding?
Created class Dollar.
Created constructor of Dollar with an integer parameter.
Created method Dollar.times().
Created field amount in class Dollar.
Assigned 10 to field amount of class Dollar to make the test to pass.
Replaced hacked value 10 with 5 * 2 to reveal the duplication between the test code and the production code.
Moved the setting of field Dollar.amount from object initialization to the Dollar.times() method.
Eliminated the duplicated value 5 from the production code.
Eliminated the duplicated value 2 from the production code.
Reduced duplication using *= operator.
Finished TODO  * 2 = 0.
Working on the note: Dollar side-effects?
Revealed the Dollar side-effects in the test.
Returned a new Dollar object from Dollar.times() to fix its side-effects.