@TestOnly
  public void assertNoInjectedFragmentsStoredInMaps() {
    ConcurrentMap<VirtualFile, FileViewProvider> map = myVFileToViewProviderMap.get();
    for (Map.Entry<VirtualFile, FileViewProvider> entry : map.entrySet()) {
      if (entry.getKey() instanceof VirtualFileWindow) {
        throw new AssertionError(entry.getKey());
      }
      FileViewProvider provider = entry.getValue();
      PsiLanguageInjectionHost injectionHost = InjectedLanguageManager.getInstance(myManager.getProject()).getInjectionHost(provider);
      if (injectionHost != null) {
        throw new AssertionError(injectionHost);
      }
    }
  }
@TestOnly
  public void assertNoInjectedFragmentsStoredInMaps()