void () { createDirectory(root, "root1"); createDirectory(root, "root2"); createDirectory(root, "root1/dir"); createFile(root, "root1/dir/file"); move(root, "root1/dir", "root2"); assertTrue(root.hasEntry("root2/dir")); assertTrue(root.hasEntry("root2/dir/file")); assertFalse(root.hasEntry("root1/dir")); }