If you're new to code smells and/or refactoring, please read https://sourcemaking.com/refactoring for a quick introduction and https://martinfowler.com/books/refactoring.html for further understanding.
Tested on Java 1.8. To run the tests, use gradlew test
for *nix and gradlew.bat test
for Windows.
OrdersWriter is inspired by the great eLearning course from https://www.industriallogic.com/eLearning