void () { createFile(root, "file"); StructuralChange c = rename(root, "file", "new file"); assertTrue(root.hasEntry("new file")); c.revertOn(root, true); assertTrue(root.hasEntry("file")); assertFalse(root.hasEntry("new file")); }