src/main/java/org/fest/assertions/util/ArrayWrapperList.java
public static ArrayWrapperList wrap(Object array) {
    if (array == null) {
      return null;
    }
    if (!array.getClass().isArray()) {
      throw new IllegalArgumentException("The object to wrap should be an array");
    }
    return new ArrayWrapperList(array);
  }
public static ArrayWrapperList wrap(Object array) {
    if (array == null) {
      return null;
    }
    if (!array.getClass().isArray()) {
      throw new IllegalArgumentException("The object to wrap should be an array");
    }
    return new ArrayWrapperList(array);
  }
Wraps a given array with a <code>{@link ArrayWrapperList}</code>

@param array the array to wrap.
@return the wrapped array or {@code null} if the given array was already {@code null}.
@throws IllegalArgumentException if the {@code array} is not an array.