Errors would probably be easier to read if you were to put the Queries.Priority into a List<> and then just do

Assert.assertEquals(expected, order);