code: public static <T> List<T> randomListFrom(Iterable<T> elements, Range<Integer> size) {
      checkArgument(!isEmpty(elements), "Elements to populate from must not be empty");
      return randomListFrom(() -> IterableUtils.randomFrom(elements), size);
    }
docs: Returns a list filled randomly from the given elements.
  
  @param elements elements to randomly fill list from
  @param size range that the size of the list will be randomly chosen from
  @param <T> the type of elements in the given iterable
  @return list filled randomly from the given elements
  @throws IllegalArgumentException if the elements to fill list from is empty or if the size
  range contains negative integers