@Test
	public void testPageFullSize() {
		int sliceSize = 3;
		PageRequest pageable = new PageRequest(0, sliceSize);
		Page<String> page = pagingUtility.getPagedData(pageable, data);
		verifyNthPage(page, Arrays.asList("a", "b", "c"), sliceSize, 1);
		Assert.isTrue(!page.hasNext());
		Assert.isTrue(page.isFirst() && page.isLast());
	}
Verify single page with the entire list.
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/util/PagingUtilityTests.java