question: public static void assertArrayEquals ( String message , Object [ ] expected , Object [ ] actual ) { if ( expected == null ) { assertEquals ( ( Object ) null , actual ) ; return ; } if ( actual == null ) { throw new AssertionFailedError ( message + " (expected " + Arrays . toString ( expected ) + " , but is null)" ) ; } assertEquals ( message + " (array length is not equal)" , expected . length , actual . length ) ; for ( int i = 0 ; i < expected . length ; i ++ ) { assertEquals ( message , expected [ i ] , actual [ i ] ) ; } }
target:  Tests all objects in the array.