@Test
public void shouldNotBePossibleToResolveSiblingPathOutsideTheRepositoryRoot()
{

    assertThatExceptionOfType(PathExceededRootRepositoryPathException.class)
         .isThrownBy(() -> {
             RepositoryPath path = new RepositoryPath(REPOSITORY_BASEDIR, repositoryFileSystem);
             path.resolveSibling(Paths.get("relative"));
    });
}