@Test
  public void testPaths_withSlash() {
    assertThatPath("foo/bar")
        .isRelative()
        .and()
        .hasNameComponents("foo", "bar")
        .and()
        .isEqualTo(path("foo\\bar"));
    assertThatPath("C:/foo/bar/baz")
        .isAbsolute()
        .and()
        .hasRootComponent("C:\\")
        .and()
        .hasNameComponents("foo", "bar", "baz")
        .and()
        .isEqualTo(path("C:\\foo\\bar\\baz"));
    assertThatPath("C:/foo\\bar/baz")
        .isAbsolute()
        .and()
        .hasRootComponent("C:\\")
        .and()
        .hasNameComponents("foo", "bar", "baz")
        .and()
        .isEqualTo(path("C:\\foo\\bar\\baz"));
  }
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