src/main/java/org/fest/assertions/IntArrayAssert.java
@Override
  public @NotNull IntArrayAssert isEqualTo(@Nullable int[] expected) {
    if (Arrays.equals(actual, expected)) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(unexpectedNotEqual(actual, expected));
  }
@Override
  public @NotNull IntArrayAssert isEqualTo(@Nullable int[] expected) {
    if (Arrays.equals(actual, expected)) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(unexpectedNotEqual(actual, expected));
  }
Verifies that the actual {@code int} array is equal to the given array. Array equality is checked by
{@link Arrays#equals(int[], int[])}.

@param expected the given array to compare the actual array to.
@return this assertion object.
@throws AssertionError if the actual {@code int} array is not equal to the given one.