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 targetName = "target"; myScheme.doTest(() -> { final LocalChangeList target = changeListManager.addChangeList(targetName, null); changeListManager.moveChangesTo(target, changeListManager.getChange(file)); checkFilesAreInList(targetName, file); }); checkFilesAreInList(targetName, file); changeListManager.ensureUpToDate(); checkFilesAreInList(targetName, file); }