public void assertHasSize(Description description, int[] actual, int expectedSize) {
    arrays.assertHasSize(description, actual, expectedSize);
  }
public void assertHasSize(Description description, int[] actual, int expectedSize) {
    arrays.assertHasSize(description, actual, expectedSize);
  }
public void assertHasSize ( Description description , int [ ] actual , int expectedSize ) { arrays . assertHasSize ( description , actual , expectedSize ) ; }
Asserts that the number of elements in the given array is equal to the expected one.

@param description 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.
Asserts that the number of elements in the given array is equal to the expected one .