void () { enableSilentOperation(VcsConfiguration.StandardConfirmation.ADD); final VirtualFile file = createFileInCommand("a.txt", "old content"); changeListManager.ensureUpToDate(); final LocalChangeList list = changeListManager.addChangeList("test", null); changeListManager.moveChangesTo(list, changeListManager.getChange(file)); final String newName = "renamed"; myScheme.doTest(() -> { changeListManager.editName(list.getName(), newName); checkFilesAreInList(newName, file); }); checkFilesAreInList(newName, file); changeListManager.ensureUpToDate(); checkFilesAreInList(newName, file); }