private void verifyNthPage(Page<String> page, List<String> content, int sliceSize, int totalPages) {
		Assert.isTrue(page.getContent().equals(content),
				"Page content should match the sliced list. Actual: " + page.getContent());
		Assert.isTrue(page.getSize() == sliceSize);
		Assert.isTrue(page.getTotalPages() == totalPages);
		Assert.isTrue(page.hasContent());
	}
Verify a specific page based on the given content and parameters.

@param page the page to verify
@param content the content of the page to check
@param sliceSize the size of the slice in the page
@param totalPages the total number of pages
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/util/PagingUtilityTests.java