public static void assertListEqualOrdered(String message, List<?> expected, List<?> actual) {

		if (expected == null) {
			assertNull(actual);
			return;
		}

		Assert.assertEquals(printListFailureMessage(message, expected, actual), expected.size(),
			actual.size());
		for (int i = 0; i < expected.size(); i++) {
			if (!actual.get(i).equals(expected.get(i))) {
				Assert.fail(printListFailureMessage(message, expected, actual));
			}
		}
	}
Compares the contents of two arrays to determine if they are equal. The contents do not have
to be in the same order. If <code>message</code> is <code>null</code>, then a generic error
message will be printed.

@param message The message to print upon failure; can be null
@param expected The expected array.
@param actual The actual array.
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java