@Test @DisplayName("not accept empty String value") void failOnEmptyString() { String str = ""; assertThrows(IllegalArgumentException.class, () -> checkNewValueNotEmpty(str)); }
static void checkNewValueNotEmpty(ByteString newValue) { checkNotNull(newValue); checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY); }
ChangePreconditions { static void checkNewValueNotEmpty(ByteString newValue) { checkNotNull(newValue); checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY); } }
ChangePreconditions { static void checkNewValueNotEmpty(ByteString newValue) { checkNotNull(newValue); checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY); } private  ChangePreconditions(); }
ChangePreconditions { static void checkNewValueNotEmpty(ByteString newValue) { checkNotNull(newValue); checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY); } private  ChangePreconditions();  }
ChangePreconditions { static void checkNewValueNotEmpty(ByteString newValue) { checkNotNull(newValue); checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY); } private  ChangePreconditions();   }