@TestOnly
  public void setConflictResultConsumer(@Nullable Consumer<? super ConflictingFileTypeMappingTracker.ResolveConflictResult> consumer) {
    if (!ApplicationManager.getApplication().isUnitTestMode()) throw new IllegalStateException();
    conflictResultConsumer = consumer;
  }
@TestOnly
  public void setConflictResultConsumer(@Nullable Consumer<? super ConflictingFileTypeMappingTracker.ResolveConflictResult> consumer)