List<Change> (@NotNull LocalChangeList list) { VirtualFile file = myFixture.getTempDirFixture().createFile(TEST_FILE); FilePath path = VcsUtil.getFilePath(file); Change change = new Change(null, new CurrentContentRevision(path)); List<Change> changes = singletonList(change); myChangeProvider.setChanges(changes); VcsDirtyScopeManager.getInstance(getProject()).markEverythingDirty(); myChangeListManager.waitUntilRefreshed(); myChangeListManager.moveChangesTo(list, change); myChangeListManager.waitUntilRefreshed(); LOG.debug(dumpChangeListManager()); return changes; }