@Test(expected=IllegalStateException.class) public void testExpressionNotEmptyFail1() { Asserts.notEmpty((String) null, "Stuff"); }
public static void notEmpty(final CharSequence s, final String name) { if (TextUtils.isEmpty(s)) { throw new IllegalStateException(name + " is empty"); } }
Asserts { public static void notEmpty(final CharSequence s, final String name) { if (TextUtils.isEmpty(s)) { throw new IllegalStateException(name + " is empty"); } } }
Asserts { public static void notEmpty(final CharSequence s, final String name) { if (TextUtils.isEmpty(s)) { throw new IllegalStateException(name + " is empty"); } } private  Asserts(); }
Asserts { public static void notEmpty(final CharSequence s, final String name) { if (TextUtils.isEmpty(s)) { throw new IllegalStateException(name + " is empty"); } } private  Asserts(); static void check(final boolean expression, final String message); static void check(final boolean expression, final String message, final Object... args); static void check(final boolean expression, final String message, final Object arg); static void notNull(final Object object, final String name); static void notEmpty(final CharSequence s, final String name); static void notBlank(final CharSequence s, final String name); }
Asserts { public static void notEmpty(final CharSequence s, final String name) { if (TextUtils.isEmpty(s)) { throw new IllegalStateException(name + " is empty"); } } private  Asserts(); static void check(final boolean expression, final String message); static void check(final boolean expression, final String message, final Object... args); static void check(final boolean expression, final String message, final Object arg); static void notNull(final Object object, final String name); static void notEmpty(final CharSequence s, final String name); static void notBlank(final CharSequence s, final String name);  }