### Question:
Assertion { public static void nonNegative(long number, String name) { if (number < 0) { throw new InvalidArgumentException(name + " should be non-negative"); } }  static void notNull(T argument, String format, Object... args); static void notNullOrEmpty(String argument, String name); static void negative(long number, String name); static void positive(long number, String name); static void nonNegative(long number, String name); static void nonPositive(long number, String name);  }### Answer:
@Test(expected = InvalidArgumentException.class) public void nonNegative_withNegative() throws Exception { Assertion.nonNegative(-1, "number"); }
@Test public void nonNegative_ok() throws Exception { Assertion.nonNegative(0, "number"); Assertion.nonNegative(1, "number"); }