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