Exemplo n.º 1
0
 /**
  * Asserts that the given array contains only the given values and nothing else, in any order.
  *
  * @param info contains information about the assertion.
  * @param actual the given array.
  * @param values the values that are expected to be in the given array.
  * @throws NullPointerException if the array of values is {@code null}.
  * @throws IllegalArgumentException if the array of values is empty.
  * @throws AssertionError if the given array is {@code null}.
  * @throws AssertionError if the given array does not contain the given values or if the given
  *     array contains values that are not in the given array.
  */
 public void assertContainsOnly(AssertionInfo info, byte[] actual, byte[] values) {
   arrays.assertContainsOnly(info, failures, actual, values);
 }