@Test
public void shouldNotBeNormalizedIfPathContainsParentOrSelfReferences() {

    assertThat(pathFactory.create("/a/b/c/../d/./e/../..").isNormalized(), is(false));
    assertThat(pathFactory.create("a/b/c/../d/./e/../..").isNormalized(), is(false));
    assertThat(pathFactory.create("a/b/c/./d").isNormalized(), is(false));
    assertThat(pathFactory.create("/a/b/c/../d").isNormalized(), is(false));
    assertThat(pathFactory.create(".").isNormalized(), is(false));
    assertThat(pathFactory.create("/.").isNormalized(), is(false));
}