public void testGetPreviousResource() throws Exception {
Iterable<Resource> iterable = new HashSet<Resource>();
Resource prev = new ResourceImpl(Resource.Type.Cluster);
Resource next = new ResourceImpl(Resource.Type.Cluster);
PageResponse response = new PageResponseImpl(iterable, 99, prev, next);
Assert.assertEquals(prev, response.getPreviousResource());
}