public static Path fromString(String path) {
        return fromString(path, "/");
    }
@Test(expected = IllegalArgumentException.class)
    public void testDoubleDot() {
        Path.fromString("foo/../bar");
    }