### Question:
RandomGeneratorImpl implements RandomGenerator { @Override public int randInt(int lowBound, int upBound) { return rand.nextInt(upBound - lowBound) + lowBound; }  @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 randInt() throws Exception { int iter = 1000; int low = 0; int high = 10; int r; for (int i = 0; i < iter; i++) { r = randomGenerator.randInt(low, high); assertTrue(r >= 0 && r <= 9); } }