### Question:
Assert { public static void check(boolean... values) { int i = 0; for (boolean value : values) { ++i; if (!value) { String msg = String.format("%s Check %d/%d failed!", PREFIX, i, values.length); throw new IllegalArgumentException(msg); } } }  static void nonNull(Object... values); static void check(boolean... values); static void unreachable(); static void unreachable(String message, Object... objects); static T unreachable(Class<T> returnType); static T unreachable(Class<T> returnType, String message, Object... objects); static T unreachable(Class<T> returnType, Exception problem);  }### Answer:
@Test(expectedExceptions=IllegalArgumentException.class) public void testCheckFailSingle() { Assert.check(false); }
@Test(expectedExceptions=IllegalArgumentException.class) public void testCheckFailMulti() { Assert.check(true, true, false); }