void () { VirtualFile vFile = createJar("com", "/com/Hello.class"); assertNotNull(vFile); VirtualFile jarRoot = JarFileSystem.getInstance().getRootByLocal(vFile); assertNotNull(jarRoot); String[] children = JarFileSystem.getInstance().list(jarRoot); assertEquals("com", UsefulTestCase.assertOneElement(children)); assertEquals("Hello.class", UsefulTestCase.assertOneElement(JarFileSystem.getInstance().list(jarRoot.findFileByRelativePath("com")))); }