예제 #1
0
 /**
  * Verifies that the actual array does not contain the given value at the given index.
  *
  * @param value the value to look for.
  * @param index the index where the value should be stored in the actual array.
  * @return this assertion object.
  * @throws AssertionError if the actual array is {@code null}.
  * @throws NullPointerException if the given {@code Index} is {@code null}.
  * @throws AssertionError if the actual array contains the given value at the given index.
  */
 public ByteArrayAssert doesNotContain(byte value, Index index) {
   arrays.assertDoesNotContain(info, actual, value, index);
   return this;
 }
예제 #2
0
 /**
  * Verifies that the actual array does not contain the given values.
  *
  * @param values the given values.
  * @return {@code this} assertion object.
  * @throws NullPointerException if the given argument is {@code null}.
  * @throws IllegalArgumentException if the given argument is an empty array.
  * @throws AssertionError if the actual array is {@code null}.
  * @throws AssertionError if the actual array contains any of the given values.
  */
 public ByteArrayAssert doesNotContain(byte... values) {
   arrays.assertDoesNotContain(info, actual, values);
   return this;
 }