Buggy code:
public class ArrayUtilsTest extends TestCase { public ArrayUtilsTest ( String name ) { } public void testConstructor ( ) { } public void testToString ( ) { } private void assertIsEquals ( Object array1 , Object array2 , Object array3 ) { } public void testIsEquals ( ) { } public void testArrayCreation ( ) { } public void testArrayCreationWithGeneralReturnType ( ) { } public void testArrayCreationWithDifferentTypes ( ) { } public void testIndirectArrayCreation ( ) { } public void testEmptyArrayCreation ( ) { } public void testIndirectEmptyArrayCreation ( ) { } private static < T > T [ ] toArrayPropagatingType ( final T ... items ) { } public void testToMap ( ) { <START_BUG> Map < ? , ? > map = ArrayUtils . toMap ( new String [ ] [ ] { new String [ ] { "foo" , "bar" } , new String [ ] { "hello" , "world" } } ) ; <END_BUG> assertEquals ( "bar" , map . get ( "foo" ) ) ; assertEquals ( "world" , map . get ( "hello" ) ) ; assertEquals ( null , ArrayUtils . toMap ( null ) ) ; try { ArrayUtils . toMap ( new String [ ] [ ] { new String [ ] { "foo" , "bar" } , new String [ ] { "short" } } ) ; fail ( "exception<seq2seq4repair_space>expected" ) ; } catch ( IllegalArgumentException ex ) { } try { ArrayUtils . toMap ( new Object [ ] { new Object [ ] { "foo" , "bar" } , "illegal<seq2seq4repair_space>type" } ) ; fail ( "exception<seq2seq4repair_space>expected" ) ; } catch ( IllegalArgumentException ex ) { } try { ArrayUtils . toMap ( new Object [ ] { new Object [ ] { "foo" , "bar" } , null } ) ; fail ( "exception<seq2seq4repair_space>expected" ) ; } catch ( IllegalArgumentException ex ) { } map = ArrayUtils . toMap ( new Object [ ] { new Map . Entry < Object , Object > ( ) { public Object getKey ( ) { return "foo" ; } public Object getValue ( ) { return "bar" ; } public Object setValue ( Object value ) { throw new UnsupportedOperationException ( ) ; } @ Override public boolean equals ( Object o ) { throw new UnsupportedOperationException ( ) ; } @ Override public int hashCode ( ) { throw new UnsupportedOperationException ( ) ; } } } ) ; assertEquals ( "bar" , map . get ( "foo" ) ) ; } public void testClone ( ) { } public void testCloneBoolean ( ) { } public void testCloneLong ( ) { } public void testCloneInt ( ) { } public void testCloneShort ( ) { } public void testCloneChar ( ) { } public void testCloneByte ( ) { } public void testCloneDouble ( ) { } public void testCloneFloat ( ) { } public void testNullToEmptyBoolean ( ) { } public void testNullToEmptyLong ( ) { } public void testNullToEmptyInt ( ) { } public void testNullToEmptyShort ( ) { } public void testNullToEmptyChar ( ) { } public void testNullToEmptyByte ( ) { } public void testNullToEmptyDouble ( ) { } public void testNullToEmptyFloat ( ) { } public void testNullToEmptyObject ( ) { } public void testNullToEmptyString ( ) { } public void testNullToEmptyBooleanObject ( ) { } public void testNullToEmptyLongObject ( ) { } public void testNullToEmptyIntObject ( ) { } public void testNullToEmptyShortObject ( ) { } public void testNullToEmptyCharObject ( ) { } public void testNullToEmptyByteObject ( ) { } public void testNullToEmptyDoubleObject ( ) { } public void testNullToEmptyFloatObject ( ) { } public void testSubarrayObject ( ) { } public void testSubarrayLong ( ) { } public void testSubarrayInt ( ) { } public void testSubarrayShort ( ) { } public void testSubarrChar ( ) { } public void testSubarrayByte ( ) { } public void testSubarrayDouble ( ) { } public void testSubarrayFloat ( ) { } public void testSubarrayBoolean ( ) { } public void testSameLength ( ) { } public void testSameLengthBoolean ( ) { } public void testSameLengthLong ( ) { } public void testSameLengthInt ( ) { } public void testSameLengthShort ( ) { } public void testSameLengthChar ( ) { } public void testSameLengthByte ( ) { } public void testSameLengthDouble ( ) { } public void testSameLengthFloat ( ) { } public void testSameType ( ) { } public void testReverse ( ) { } public void testReverseLong ( ) { } public void testReverseInt ( ) { } public void testReverseShort ( ) { } public void testReverseChar ( ) { } public void testReverseByte ( ) { } public void testReverseDouble ( ) { } public void testReverseFloat ( ) { } public void testReverseBoolean ( ) { } public void testIndexOf ( ) { } public void testIndexOfWithStartIndex ( ) { } public void testLastIndexOf ( ) { } public void testLastIndexOfWithStartIndex ( ) { } public void testContains ( ) { } public void testIndexOfLong ( ) { } public void testIndexOfLongWithStartIndex ( ) { } public void testLastIndexOfLong ( ) { } public void testLastIndexOfLongWithStartIndex ( ) { } public void testContainsLong ( ) { } public void testIndexOfInt ( ) { } public void testIndexOfIntWithStartIndex ( ) { } public void testLastIndexOfInt ( ) { } public void testLastIndexOfIntWithStartIndex ( ) { } public void testContainsInt ( ) { } public void testIndexOfShort ( ) { } public void testIndexOfShortWithStartIndex ( ) { } public void testLastIndexOfShort ( ) { } public void testLastIndexOfShortWithStartIndex ( ) { } public void testContainsShort ( ) { } public void testIndexOfChar ( ) { } public void testIndexOfCharWithStartIndex ( ) { } public void testLastIndexOfChar ( ) { } public void testLastIndexOfCharWithStartIndex ( ) { } public void testContainsChar ( ) { } public void testIndexOfByte ( ) { } public void testIndexOfByteWithStartIndex ( ) { }

Fix:
Map < String , String > map = ArrayUtils . toMap ( new String [ ] [ ] { new String [ ] { "foo" , "bar" } , new String [ ] { "hello" , "world" } } ) ;