@Test
  public void testReadAttributes_failsForUnsupportedAttributesType() {
    File file = createFile();
    try {
      service.readAttributes(file, PosixFileAttributes.class);
      fail();
    } catch (UnsupportedOperationException expected) {
    }
  }
Tests for {@link AttributeService}.

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