### Question:
MathUtil { public static final int nextFakeInt(int max) { return (sequenceNumber++)%max; }  static final double nextDouble(); static final double nextGaussionDouble(); static final double nextGaussionDouble(double u, double q); static final int nextGaussionInt(int low, int high); static final int nextGaussionInt(int low, int high, double q); static final int nextGaussionInt2(int low, int high, double q); static final int nextFakeInt(int max); static final int[] nextPermuate(int n, int k); static final Object[] randomPick(Collection<T> collection,
			int count); static final List<T> randomPickShuffle(Collection<T> collection,
			int count); static final Collection<T> randomPickGaussion(
			Collection<T> collection, int count, double q); static final double solveCubicEquation(double a, double b, double c, double d);  }### Answer:
@Test public void testFakeRandomInt() { int max = 2; for ( int i=0; i<1001; i++ ) { int n = MathUtil.nextFakeInt(max); System.out.println(n); if ( n >= max ) { System.out.println("error"); break; } } }