### Question:
RandomGeneratorImpl implements RandomGenerator { @Override public List<Integer> randIntegers(int lowBount, int upBount, int length) { if (length <= 0) { throw new IllegalArgumentException(); } Integer[] intList = new Integer[length]; for (int i = 0; i < length; i++) { intList[i] = randInt(lowBount, upBount); } return Arrays.asList(intList); }  @Override char randLowerCaseChar(); @Override char randUpperCaseChar(); @Override char randChar(); @Override List<Character> randLowerCaseChars(int num); @Override List<Character> randUpperCaseChars(int num); @Override List<Character> randChars(int num); @Override int randInt(int lowBound, int upBound); @Override List<Integer> randIntegers(int lowBount, int upBount, int length); @Override String randString(int charCount, int intCount, boolean mustSeartWithAlph); @Override List<String> randStrings(int size, int alphNum, int digitNum, boolean mustStartWithAlph); @Override double randDouble(double lowBound, double upBound); @Override List<Double> randDoubles(int size, double lowBound, double upBound); @Override boolean randBoolean();  }### Answer:
@Test public void randIntegers() throws Exception { int iter = 1000; int low = 0; int high = 10; List<Integer> ints = randomGenerator.randIntegers(low, high, iter); ints.forEach(i -> assertTrue(i >= 0 && i <= 9)); }