@Test
  public void testUnix_toUri_escaping() {
    URI uri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo bar"), false);
    assertThat(uri.toString()).isEqualTo("jimfs://foo/foo%20bar");
    assertThat(uri.getRawPath()).isEqualTo("/foo%20bar");
    assertThat(uri.getPath()).isEqualTo("/foo bar");
  }
Tests for {@link UnixPathType}.

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