@Test
public void rebuild_rootPageIsNull() {

    disableResolution(resource);
    model.rebuild(resource.getPath());
    verifyCommits(1);
    assertTrue(rebuildImplCalled.contains(resource.getPath()));
    assertTrue(rebuildImplCalled.contains(jcrContent.getPath()));
    assertTrue(rebuildImplCalled.contains(page.getPath()));
    assertTrue(rebuildImplCalled.contains(parent.getPath()));
    assertTrue(rebuildImplCalled.contains(contentRoot.getPath()));
}