void () { int before = getRevisionsFor(myRoot).size(); createChildDirectory(myRoot, FILTERED_DIR_NAME); String path = Paths.appended(myRoot.getPath(), FILTERED_DIR_NAME); FileUtil.delete(new File(path)); assertEquals(before, getRevisionsFor(myRoot).size()); refreshVFS(); assertEquals(before, getRevisionsFor(myRoot).size()); }