@Test
public void adaptPageFromContentChildTest() throws Exception {

    Resource pageResource = createPageResource(null, "resource-3");
    Resource jcrContent = createResource(pageResource, JCR_CONTENT, PAGE_CONTENT_TYPE);
    Resource jcrContentChild = createResource(jcrContent, "My Gugus", "gugus");
    PeregrineAdapterFactory factory = new PeregrineAdapterFactory();
    PerPage page = factory.getAdapter(jcrContentChild, PerPage.class);
    assertNotNull("Page Content could not be adapted", page);
    checkPage("Adapted Page Resource is not what was excepted", pageResource, page);
}