In my test I'm asserting that the list I return is an alphabetically ordered list of the one I just created.
What exactly does the assertEquals do check for? Does it check the ordering of the list or just its contents?
So if I have a list of { "Fred", "Bob", "Anna" } would list 2 of { "Anna", "Bob", "Fred" } return true as they contain the same object, regardless of order?