Skip to content

Instantly share code, notes, and snippets.

@edesdan
Created February 16, 2016 14:43
Show Gist options
  • Save edesdan/f991b9b79f27ae0193f9 to your computer and use it in GitHub Desktop.
Save edesdan/f991b9b79f27ae0193f9 to your computer and use it in GitHub Desktop.
private MONTHS randomJobStatusForMockEvent() {
List<MONTHS> values = Collections.unmodifiableList(Arrays.asList(MONTHS.values()));
int size = values.size();
return values.get(random.nextInt(size));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment