int[] expected = {1, 2, 3}; int[] actual = {1, 2, 3};
assertArrayEquals(expected, actual);
int[] expected = {1, 2, 3}; int[] actual = {3, 2, 1}; assertArrayEquals(expected, actual); // AssertionError!The assertArrayEquals method is part of the JUnit library, which is a package for unit testing in Java.