### Question:
S3FileStore extends FileStore implements Comparable<S3FileStore> { public S3Path getRootDirectory() { return new S3Path(fileSystem, "/" + this.name()); } S3FileStore(S3FileSystem s3FileSystem, String name); @Override String name(); @Override String type(); @Override boolean isReadOnly(); @Override long getTotalSpace(); @Override long getUsableSpace(); @Override long getUnallocatedSpace(); @Override boolean supportsFileAttributeView(Class<? extends FileAttributeView> type); @Override boolean supportsFileAttributeView(String attributeViewName); @SuppressWarnings("unchecked") @Override V getFileStoreAttributeView(Class<V> type); @Override Object getAttribute(String attribute); S3FileSystem getFileSystem(); Bucket getBucket(); S3Path getRootDirectory(); Owner getOwner(); @Override int compareTo(S3FileStore o); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void getRootDirectory() { S3Path rootDirectory = fileStore.getRootDirectory(); assertNull("", rootDirectory.getFileName()); assertTrue(rootDirectory.isAbsolute()); assertEquals("s3: assertEquals("s3: }