@Test
  public void testPaths_startsWith_endsWith() {
    assertThat(path("C:\\foo\\bar").startsWith("C:\\")).isTrue();
    assertThat(path("C:\\foo\\bar").startsWith("C:\\foo")).isTrue();
    assertThat(path("C:\\foo\\bar").startsWith("C:\\foo\\bar")).isTrue();
    assertThat(path("C:\\foo\\bar").endsWith("bar")).isTrue();
    assertThat(path("C:\\foo\\bar").endsWith("foo\\bar")).isTrue();
    assertThat(path("C:\\foo\\bar").endsWith("C:\\foo\\bar")).isTrue();
    assertThat(path("C:\\foo\\bar").endsWith("C:\\foo")).isFalse();
    assertThat(path("C:\\foo\\bar").startsWith("foo\\bar")).isFalse();
  }
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