void () { VirtualFile vDir = getVirtualTempRoot(); assertNotNull(vDir); vDir.getChildren(); vDir.refresh(false, true); LoggingListener listener = new LoggingListener(); myVirtualFilePointerManager.create(vDir.getUrl() + "/d1/subdir", disposable, listener); myVirtualFilePointerManager.create(vDir.getUrl() + "/d2/subdir", disposable, listener); File dir = new File(vDir.getPath()+"/d1"); FileUtil.createDirectory(dir); getVirtualFile(dir).getChildren(); assertEquals("[]", listener.log.toString()); listener.log.clear(); File subDir = new File(dir, "subdir"); FileUtil.createDirectory(subDir); getVirtualFile(subDir); assertEquals("[before:false, after:true]", listener.log.toString()); }