@Test public void not_empty__with_null_collection_throws_illegal_argument() { expected.expect(IllegalArgumentException.class); Assert.notEmpty((Collection<?>)null, "message"); }
public static void notEmpty(String string, String message) { if (string == null || string.isEmpty()) { throw new IllegalArgumentException(message); } }
Assert { public static void notEmpty(String string, String message) { if (string == null || string.isEmpty()) { throw new IllegalArgumentException(message); } } }
Assert { public static void notEmpty(String string, String message) { if (string == null || string.isEmpty()) { throw new IllegalArgumentException(message); } } private  Assert(); }
Assert { public static void notEmpty(String string, String message) { if (string == null || string.isEmpty()) { throw new IllegalArgumentException(message); } } private  Assert(); static void notNull(Object obj, String message); static void notEmpty(String string, String message); static void notEmpty(Collection<?> collection, String message); static void maxLength(String string, int max); }
Assert { public static void notEmpty(String string, String message) { if (string == null || string.isEmpty()) { throw new IllegalArgumentException(message); } } private  Assert(); static void notNull(Object obj, String message); static void notEmpty(String string, String message); static void notEmpty(Collection<?> collection, String message); static void maxLength(String string, int max);  }