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

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