void () { createDirectory(root, "dir1"); createDirectory(root, "dir1/dir2"); createFile(root, "dir1/file1"); createFile(root, "dir1/dir2/file2"); move(root, "dir1/file1", "dir1/dir2"); move(root, "dir1/dir2/file2", "dir1"); assertTrue(root.hasEntry("dir1/file2")); assertTrue(root.hasEntry("dir1/dir2/file1")); }