@Test
public void testReverse() {

    Integer[] i = {1, 2, 3, 4, 5};
    Integer[] result = Util.reverse(i);
    assertTrue(Arrays.equals(new Integer[] {1, 2, 3, 4, 5}, i));
    assertTrue(Arrays.equals(new Integer[] {5, 4, 3, 2, 1}, result));
}