### Question:
IntArrayWrapper { public int[] getArray() { return array; } IntArrayWrapper(int[] array); int[] getArray(); static IntArrayWrapper wrap(int[] array); static List<IntArrayWrapper> wrapToList(Collection<int[]> arrays); static Set<IntArrayWrapper> wrapToSet(Collection<int[]> arrays); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void arrayWrapping() { final int[] nullArray = null; final IntArrayWrapper nullWrapper = new IntArrayWrapper(nullArray); assertNull(nullWrapper.getArray()); final int[] array = new int[]{1, 2, 4, 3, 5, 3}; final IntArrayWrapper wrapper = new IntArrayWrapper(array); assertArrayEquals(array, wrapper.getArray()); }