code: public <T> T randomElement(List<T> elements) {
  		return elements.get(randomBetween(0, elements.size() - 1));
  	}
docs: Returns random element from passed List
  
  @param <T>      element generic type
  @param elements list to process
  @return random list element