public void shouldNotCheckEmptyString() { // no excpetions Checker.checkNonNull("message", false, ""); }
@Test(expected = ApprenticeEx.class) public void shouldCheckEmptyString() { Checker.checkNonNull("message", true, ""); }