void () { File tmpDir = createDir(new File(FileUtil.getTempDirectory()), "tmpDir"); File child1 = createDir(tmpDir, "child1"); File child2 = createDir(tmpDir, "child2"); syncRefresh(); final List<VirtualFile> list = convert(new File[]{child2, child2, child1}); assertEquals(3, list.size()); FilterDescendantVirtualFiles.filter(list); assertEquals(2, list.size()); }