in changes-patch-builder-test/src/jetbrains/buildServer/vcs/patches/fs/MemoryFileSystemImplTest.java [212:223]
public void testComplexScenario3() {
fs.add("a/b/c");
fs.add("a/b/d/");
fs.add("a/b/d/e/f/");
fs.add("a/b/d/e/f/g");
fs.add("a/c/");
fs.add("a/c/b");
checkFileSystem(new String[] { "a/b/c", "a/b/d/e/f/g", "a/c/b" },
new String[] { "a/b/d", "a/b/d/e/f", "a/c" });
fs.remove("a/");
checkFileSystem(new String[] {}, new String[] {});
}