### Question:
ParamChecker { public static int greaterEqualZero(int i, String paramName) { return greaterThan(i, -1, paramName); }  static T notNull(T t, String paramName); static String notEmpty(String s, String paramName); static List<T> notNulls(List<T> l, String paramName); static int greaterEqualZero(int i, String paramName); static int greaterThan(int i, int base, String paramName); static long greaterEqualZero(long i, String paramName); static long greaterThan(long i, long base, String paramName); static void asserts(boolean b, String msg);  }### Answer:
@Test public void testGreaterEqualZeroOK() { Assert.assertEquals(0, ParamChecker.greaterEqualZero(0, "i")); Assert.assertEquals(1, ParamChecker.greaterEqualZero(1, "i")); }
@Test(expected = IllegalArgumentException.class) public void testGreaterEqualZeroFail() { ParamChecker.greaterEqualZero(-1, "i"); }