core/src/test/java/org/apache/commons/vfs2/test/ContentTests.java
/**
     * Tests root of file system exists.
     */
Tests root of file system exists.
Tests root of file system exists .
public void testRoot() throws FileSystemException
    {
        FileSystem fs = getReadFolder().getFileSystem();
        String uri = fs.getRootURI();
        final FileObject file = getManager().resolveFile(uri);
        assertTrue(file.exists());
        assertTrue(file.getType() != FileType.IMAGINARY);
    }
public void testRoot ( ) throws FileSystemException { FileSystem fs = getReadFolder ( ) . getFileSystem ( ) ; String uri = fs . getRootURI ( ) ; final FileObject file = getManager ( ) . resolveFile ( uri ) ; assertTrue ( file . exists ( ) ) ; assertTrue ( file . getType ( ) != FileType . IMAGINARY ) ; }
Tests root of file system exists.
Tests root of file system exists .
//final FileObject file = getReadFolder().getFileSystem().getRoot();