Пример #1
0
 public void shouldNotCheckEmptyString() {
   // no excpetions
   Checker.checkNonNull("message", false, "");
 }
Пример #2
0
 @Test(expected = ApprenticeEx.class)
 public void shouldCheckEmptyString() {
   Checker.checkNonNull("message", true, "");
 }