@Test
  public void testAttributes() {
    BasicFileAttributes attrs = provider.readAttributes(file);
    assertThat(attrs.fileKey()).isEqualTo(0);
    assertThat(attrs.isDirectory()).isTrue();
    assertThat(attrs.isRegularFile()).isFalse();
    assertThat(attrs.creationTime()).isNotNull();
  }
Tests for {@link BasicAttributeProvider}.

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