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