@Test
  public void testParsePath() {
    ParseResult path = type.parsePath("foo/bar/baz/one\\two");
    assertParseResult(path, null, "foo", "bar", "baz", "one", "two");

    ParseResult path2 = type.parsePath("$one//\\two");
    assertParseResult(path2, "$", "one", "two");
  }
Tests for {@link PathType}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java