@Test
public void noAdaptNoPageContentChild() throws Exception {

    Resource pageResource = createPageResource(null, "resource-4");
    Resource pageNoContentResource = createResource(pageResource, "My Gugus", "gugus");
    PeregrineAdapterFactory factory = new PeregrineAdapterFactory();
    PerPage page = factory.getAdapter(pageNoContentResource, PerPage.class);
    assertNull("Page Child should not be adapted as it is a no-content child", page);
}