Use assertArrayEquals instead of a for loop assert style