core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java
/**
     *
     * Checks root folder exists
     *
     * @throws FileSystemException
     */
Checks root folder exists
@throws FileSystemException
Checks root folder exists @throws FileSystemException
public void testRootFolderExists() throws FileSystemException {
        FileObject root = manager.resolveFile("ram:///", defaultRamFs);
        assertTrue(root.getType().hasChildren());
        try {
            root.delete();
            fail();
        } catch (FileSystemException e) {
        }
    }
public void testRootFolderExists ( ) throws FileSystemException { FileObject root = manager . resolveFile ( "ram:///" , defaultRamFs ) ; assertTrue ( root . getType ( ) . hasChildren ( ) ) ; try { root . delete ( ) ; fail ( ) ; } catch ( FileSystemException e ) { } }
Checks root folder exists
 @throws FileSystemException
Checks root folder exists @throws FileSystemException