@Test
  public void testInitialAttributes() {
    FileTime expected = fileTimeSource.now();
    assertThat(file.getCreationTime()).isEqualTo(expected);
    assertThat(file.getLastAccessTime()).isEqualTo(expected);
    assertThat(file.getLastModifiedTime()).isEqualTo(expected);

    assertContainsAll(
        file,
        ImmutableMap.<String, Object>builder()
            .put("fileKey", 0)
            .put("size", 0L)
            .put("isDirectory", true)
            .put("isRegularFile", false)
            .put("isSymbolicLink", false)
            .put("isOther", false)
            .build());
  }
Tests for {@link BasicAttributeProvider}.

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