void () { createDirectory(root, "dir1"); createDirectory(root, "dir2"); createFile(root, "dir1/file", "content"); move(root, "dir1/file", "dir2"); assertTrue(root.hasEntry("dir2/file")); assertFalse(root.hasEntry("dir1/file")); Entry e = root.getEntry("dir2/file"); assertContent("content", e.getContent()); }