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