}
public void testGetChildrenClosed() throws Exception
{
VFSContext context = getVFSContext("simple");
VirtualFileHandler root = context.getRoot();
VirtualFileHandler child = context.findChild(root, "child");
child.close();
try
{
child.getChildren(false);
fail("Should not be here!");
}
catch (Throwable t)
{
checkThrowable(IllegalStateException.class, t);