@Test(expected = IllegalArgumentException.class)
	public void testPassingInNullCollection() {
		int sliceSize = 2;
		PageRequest pageable = new PageRequest(5, sliceSize);
		pagingUtility.getPagedData(pageable, null);
	}
Verify that an {@link IllegalArgumentException} is raised in case a {@code null}
collection is passed in.
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/util/PagingUtilityTests.java