replace method randomEnumValue to EnumHelper class