SyntaxFix
Write A Post
Hire A Developer
Questions
To compare two lists with the order preserved use,
assertThat(actualList, contains("item1","item2"));