Пример #1
0
 /**
  * Asserts that the number of elements in the given array is equal to the expected one.
  *
  * @param info contains information about the assertion.
  * @param actual the given array.
  * @param expectedSize the expected size of {@code actual}.
  * @throws AssertionError if the given array is {@code null}.
  * @throws AssertionError if the number of elements in the given array is different than the
  *     expected one.
  */
 public void assertHasSize(AssertionInfo info, byte[] actual, int expectedSize) {
   arrays.assertHasSize(info, failures, actual, expectedSize);
 }