new String[]{"sortable", "sorted", "order2"},
StringUtils.split(cssClass));
WebLink[] headerLinks = headerCell.getLinks();
Assert.assertEquals("Sorting link not found.", 1, headerLinks.length);
WebLink sortingLink = headerLinks[0];
assertEqualsIgnoreOrder(
"Wrong parameters.",
new String[]{"sort", "searchid", "dir", pageParameter},
sortingLink.getParameterNames());
HTMLElement pagebanner = response.getElementWithID("pagebanner");
Assert.assertEquals("Wrong page banner", "10|3|4", pagebanner.getText());
HTMLElement pagelinks = response.getElementWithID("pagelinks");
Assert.assertEquals("Wrong page links", "1|[2]|3|4|5", pagelinks.getText());