@Test
  public void testPaths_resolve() {
    assertThatPath(path("C:\\").resolve("foo\\bar"))
        .isAbsolute()
        .and()
        .hasRootComponent("C:\\")
        .and()
        .hasNameComponents("foo", "bar");
    assertThatPath(path("foo\\bar").resolveSibling("baz"))
        .isRelative()
        .and()
        .hasNameComponents("foo", "baz");
    assertThatPath(path("foo\\bar").resolve("C:\\one\\two"))
        .isAbsolute()
        .and()
        .hasRootComponent("C:\\")
        .and()
        .hasNameComponents("one", "two");
  }
Tests a Windows-like file system through the public methods in {@link Files}.

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