@TestOnly
  public void waitUntilRefreshed() {
    LOG.debug("waitUntilRefreshed");
    assert ApplicationManager.getApplication().isUnitTestMode();
    VcsDirtyScopeVfsListener.getInstance(myProject).waitForAsyncTaskCompletion();
    myUpdater.waitUntilRefreshed();
    waitUpdateAlarm();
  }
@TestOnly
  public void waitUntilRefreshed()