void () { ChangeSet cs1 = addChangeSet(facade, createFile(r, "file")); ChangeSet cs2 = addChangeSet(facade, delete(r, "file")); ChangeSet cs3 = addChangeSet(facade, new PutLabelChange(nextId(), "", "project")); ChangeSet cs4 = addChangeSet(facade, createFile(r, "file")); assertEquals(array(cs4, cs2, cs1), getChangesFor("file")); }