@Test
  public void testAttributes() {
    DosFileAttributes attrs = provider.readAttributes(file);
    assertThat(attrs.isHidden()).isFalse();
    assertThat(attrs.isArchive()).isFalse();
    assertThat(attrs.isReadOnly()).isFalse();
    assertThat(attrs.isSystem()).isFalse();

    file.setAttribute("dos", "hidden", true);

    attrs = provider.readAttributes(file);
    assertThat(attrs.isHidden()).isTrue();
    assertThat(attrs.isArchive()).isFalse();
    assertThat(attrs.isReadOnly()).isFalse();
    assertThat(attrs.isSystem()).isFalse();
  }
Tests for {@link DosAttributeProvider}.

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