@Test
  public void testCreateDirectory_relative() throws IOException {
    Files.createDirectory(path("test"));

    assertThatPath("/work/test", NOFOLLOW_LINKS).isDirectory();
    assertThatPath("test", NOFOLLOW_LINKS).isDirectory();
    assertThatPath("/work").hasChildren("test");
    assertThatPath("test").isSameFileAs("/work/test");

    Files.createDirectory(path("foo"));
    Files.createDirectory(path("foo/bar"));

    assertThatPath("/work/foo/bar", NOFOLLOW_LINKS).isDirectory();
    assertThatPath("foo/bar", NOFOLLOW_LINKS).isDirectory();
    assertThatPath("/work/foo").hasChildren("bar");
    assertThatPath("foo").hasChildren("bar");
    assertThatPath("foo/bar").isSameFileAs("/work/foo/bar");
  }
");
    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