public void testIsArchive() throws Exception
{
VFSContext context = getVFSContext("nested");
VirtualFileHandler root = context.getRoot();
assertEquals(isArchive(), root.isArchive());
VirtualFileHandler complex = root.getChild("complex.jar");
assertNotNull(complex);
assertEquals(isArchive(), complex.isArchive());
VirtualFileHandler subfolder = complex.getChild("subfolder");
assertNotNull(subfolder);
assertFalse(subfolder.isArchive());
VirtualFileHandler subchild = subfolder.getChild("subchild");
assertNotNull(subchild);
assertFalse(subchild.isArchive());
VirtualFileHandler subsubfolder = subfolder.getChild("subsubfolder");
assertNotNull(subsubfolder);
assertFalse(subsubfolder.isArchive());
VirtualFileHandler subsubchild = subsubfolder.getChild("subsubchild");
assertNotNull(subsubchild);
assertFalse(subsubchild.isArchive());
}