SimpleWindowsFileStore extends BaseSimpleFileStore { @Override public long getUnallocatedSpace() throws IOException { throw new UnsupportedOperationException(); } SimpleWindowsFileStore(final File[] roots,
                                  final FileSystem fs,
                                  final String path);   SimpleWindowsFileStore(final File[] roots,
                           final Path path); @Override String name(); @Override long getTotalSpace(); @Override long getUsableSpace(); @Override long getUnallocatedSpace();  }
@Test(expected = UnsupportedOperationException.class) public void getUnallocatedSpaceUnsupportedOp() { new SimpleWindowsFileStore(roots, nonNullPath).getUnallocatedSpace(); }