@Test
public void isPageResource_subnode() {

    when(resource.getPath()).thenReturn("/content/project/something/jcr:content/node");
    PageUtil util = new PageUtil();
    assertFalse(util.isPageResource(resource));
}