An intermediate step between Golden Master (having a safety net of tests) and getting a clear conditional statement to be replaced by polymorphism.
The goal is showing the power of refactoring shortcuts in Intellij IDEA (a mouseless demo).