@Test
public void noAdaptNoPageChild() throws Exception {

    Resource notPageResource = createResource(null, "resource-5", "super:gugus");
    Resource jcrContent = createResource(notPageResource, JCR_CONTENT, PAGE_CONTENT_TYPE);
    PeregrineAdapterFactory factory = new PeregrineAdapterFactory();
    PerPage page = factory.getAdapter(notPageResource, PerPage.class);
    assertNull("No Page should not be adapted as it has no Page Type", page);
    page = factory.getAdapter(jcrContent, PerPage.class);
    assertNull("No Page Content should not be adapted as it has no Page parent", page);
}