public static String normalize(final String path) {
        return normalize(path, true);
    }
@Test
    public void testDoubleDot() {
        assertEquals("/", PathNormalizer.normalize("/.."));
        assertEquals("/p", PathNormalizer.normalize("/p/n/.."));
        assertEquals("/n", PathNormalizer.normalize("/p/../n"));
        assertEquals("/", PathNormalizer.normalize(".."));
        assertEquals("/", PathNormalizer.normalize("."));
    }