@Test
public void getFirstExistingAncestorOnPath_emptyPath() {

    final Resource resource = ResourceUtils.getFirstExistingAncestorOnPath(resourceResolver, null);
    assertEquals(repo.getRoot(), resource);
}