void () { File jarFile = IoTestUtil.createTestJar(tempDir.newFile("test.jar")); assertNotNull(LocalFileSystem.getInstance().refreshAndFindFileByIoFile(jarFile)); VirtualFile jarRoot = VirtualFileManager.getInstance().findFileByUrl("jar://" + FileUtil.toSystemIndependentName(jarFile.getPath()) + "!/"); assertNotNull(jarRoot); VFileCreateEvent event = new VFileCreateEvent(this, jarRoot, "x.txt", false, null, null, null); assertEquals(FileUtil.toSystemIndependentName(jarFile.getPath()) + "!/x.txt", event.getPath()); }