@Test
  public void testMove_movesSymbolicLinkNotTarget() throws IOException {
    byte[] bytes = preFilledBytes(100);
    Files.write(path("/foo.txt"), bytes);

    Files.createSymbolicLink(path("/link"), path("foo.txt"));

    Files.move(path("/link"), path("/link.txt"));

    assertThatPath("/foo.txt").noFollowLinks().isRegularFile().and().containsBytes(bytes);

    assertThatPath(path("/link")).doesNotExist();

    assertThatPath(path("/link.txt")).noFollowLinks().isSymbolicLink();

    assertThatPath(path("/link.txt")).isRegularFile().and().containsBytes(bytes);
  }
");
    assertThatPath("foo/bar").doesNotMatch("glob:/**");
    assertThatPath("/foo/bar/baz/stuff").matches("glob:/foo/**");
    assertThatPath("/foo/bar/baz/stuff").matches("glob:/*
jimfs/src/test/java/com/google/common/jimfs/JimfsUnixLikeFileSystemTest.java