[2.0 Spec] Java generator: Implement Enums #287

 Unittest