@Test
  public void testDirectory() {
    File file = Directory.create(0, fileTimeSource.now());
    assertThat(file.isDirectory()).isTrue();
    assertThat(file.isRegularFile()).isFalse();
    assertThat(file.isSymbolicLink()).isFalse();
  }
Tests for {@link File}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/FileTest.java