void () { assumeUnix(); File file = tempDir.newFile("test\\file.txt"); VirtualFile vDir = myFS.refreshAndFindFileByIoFile(tempDir.getRoot()); assertNotNull(vDir); assertThat(vDir.getChildren()).isEmpty(); ((VirtualFileSystemEntry)vDir).markDirtyRecursively(); vDir.refresh(false, true); assertNull(myFS.refreshAndFindFileByIoFile(file)); }