void () { createFile(root, "file", "content", 18L, true); StructuralChange c = delete(root, "file"); assertFalse(root.hasEntry("file")); c.revertOn(root, true); assertTrue(root.hasEntry("file")); Entry e = root.getEntry("file"); assertContent("content", e.getContent()); assertEquals(18L, e.getTimestamp()); assertTrue(e.isReadOnly()); }