void () { ChangeSet cs1 = addChangeSet(facade, createFile(r, "f")); ChangeSet cs2 = addChangeSet(facade, delete(r, "f")); ChangeSet cs3 = addChangeSet(facade, createFile(r, "f"), delete(r, "f")); ChangeSet cs4 = addChangeSet(facade, createFile(r, "f")); assertEquals(array(cs4, cs3, cs2, cs1), getChangesFor("f")); }