### Question:
Assert { public static void notNullOrEmpty(String string) { notNullOrEmpty(string, () -> "Given string '" + string + "' must not be null or empty"); }  static void isEmpty(Collection<?> values); static void isEmpty(Collection<?> values, Supplier<String> messageSupplier); static void notEmpty(Collection<?> values); static void hasSize(Collection<?> values, int expectedSize); static void hasSize(Collection<?> values, int expectedSize, Supplier<String> messageSupplier); static void notEmpty(Collection<?> values, Supplier<String> messageSupplier); static void equals(T one, T other); static void equals(long one, long other); static void equals(T one, T other, Supplier<String> messageSupplier); static void equals(long one, long other, Supplier<String> messageSupplier); static void isTrue(boolean value, Supplier<String> messageSupplier); static void isFalse(boolean value, Supplier<String> messageSupplier); static void isNull(Object value); static void isNull(Object value, Supplier<String> messageSupplier); static void notNull(Object value); static void notNull(Object value, Supplier<String> messageSupplier); static void startsWith(String string, String requiredPrefix); static void startsWith(String string, String requiredPrefix, Supplier<String> messageSupplier); static void doesNotStartWith(String string, String forbiddenPrefix); static void doesNotStartWith(String string, String forbiddenPrefix, Supplier<String> messageSupplier); static void notNullOrEmpty(String string); static void notNullOrEmpty(String string, Supplier<String> messageSupplier);  }### Answer:
@Test void testNotNullOrEmpty() throws Exception { Assert.notNullOrEmpty("a"); assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> Assert.notNullOrEmpty(null)) .withMessage("Given string 'null' must not be null or empty"); assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> Assert.notNullOrEmpty("")) .withMessage("Given string '' must not be null or empty"); assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> Assert.notNullOrEmpty("", () -> "some message")) .withMessage("some message"); }