Unit test for the enum-based State behavioral design pattern + minor Javadoc additions + package-info.java.
Unit test for the State behavioral design pattern.