@Test
public void adaptPageFromPageResource() throws Exception {

    Resource pageResource = createPageResource(null, "resource-1");
    PeregrineAdapterFactory factory = new PeregrineAdapterFactory();
    PerPage page = factory.getAdapter(pageResource, PerPage.class);
    assertNotNull("Page could not be adapted", page);
    checkPage("Adapted Page Resource is not what was excepted", pageResource, page);
}