This is a simple legacy coffeemachine commandline application. It uses only statics and is strongly coupled to the System global. You can use it to practice adding characterization tests and refactoring.
This Youtube Episode demonstrates adding tests to the code.
The code was found on stackexchange