apache/commons-lang — pull request #37 by gabrielruiu (2014-11-11 11:46:12+00:00)
Title: add RandomEnumUtils to operate with random instances of enum types

Added a utility class that returns a random instance of an Enum of a certain provided type. This, I consider, is useful when creating test data instances with random values for its fields, among which are most likely some Enum types as well.