Assert.assertEquals(4, pagination.getCurrentPageIndex());
Assert.assertTrue(pagination.hasNextPage());
String secondExtensionName = searchResults.getExtension(0).getName();
Assert.assertFalse(firstExtensionName.equals(secondExtensionName));
pagination = pagination.previousPage();
searchResults = new SearchResultsPane();
Assert.assertEquals(20, searchResults.getDisplayedResultsCount());
Assert.assertEquals("41 - 60", pagination.getCurrentRange());
Assert.assertEquals(3, pagination.getCurrentPageIndex());
String thirdExtensionName = searchResults.getExtension(0).getName();