@Test
  public void readFromUrl() throws IOException {
    Files.write(path, ImmutableList.of("Hello World"), UTF_8);

    URL url = path.toUri().toURL();
    assertThat(Resources.asCharSource(url, UTF_8).read())
        .isEqualTo("Hello World" + LINE_SEPARATOR.value());
  }
Tests that {@link URL} instances can be created and used from jimfs URIs.

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