final Path nonNullPath = GeneralPathImpl.create( fileSystem, "c:\\something", false );
@Test
public void simpleTests() {
final Path path = GeneralPathImpl.create( fileSystem, "something", false );
final FileStore fileStore = new SimpleWindowsFileStore( roots, path );
assertThat( fileStore.name() ).isNotNull().isEqualTo( "c:\\" );
assertThat( fileStore.type() ).isNull();
assertThat( fileStore.isReadOnly() ).isFalse();
assertThat( fileStore.getTotalSpace() ).isEqualTo( 0L );
assertThat( fileStore.getUsableSpace() ).isEqualTo( 0L );
assertThat( fileStore.supportsFileAttributeView( BasicFileAttributeView.class ) ).isTrue();
assertThat( fileStore.supportsFileAttributeView( MyFileAttributeView.class ) ).isFalse();
assertThat( fileStore.supportsFileAttributeView( MyAlsoInvalidFileAttributeView.class ) ).isFalse();
assertThat( fileStore.supportsFileAttributeView( "basic" ) ).isTrue();
assertThat( fileStore.supportsFileAttributeView( "any" ) ).isFalse();
assertThat( fileStore.supportsFileAttributeView( BasicFileAttributeView.class.getName() ) ).isFalse();
assertThat( fileStore.supportsFileAttributeView( MyAlsoInvalidFileAttributeView.class.getName() ) ).isFalse();
assertThat( fileStore.getFileStoreAttributeView( FileStoreAttributeView.class ) ).isNull();
assertThat( fileStore.getAttribute( "name" ) ).isNotNull().isEqualTo( fileStore.name() );
assertThat( fileStore.getAttribute( "totalSpace" ) ).isNotNull().isEqualTo( fileStore.getTotalSpace() );
assertThat( fileStore.getAttribute( "usableSpace" ) ).isNotNull().isEqualTo( fileStore.getUsableSpace() );
assertThat( fileStore.getAttribute( "readOnly" ) ).isNotNull().isEqualTo( fileStore.isReadOnly() );
}