@Test
public void rebuild_cacheIsNull() {

    model.rebuild(resource.getPath() + SLASH + "not-cached");
    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()));
}