private void initErrorValidation() {
    final FacetErrorPanel facetErrorPanel = new FacetErrorPanel();
    myErrorPanel.add(facetErrorPanel.getComponent(), BorderLayout.CENTER);

    facetErrorPanel.getValidatorsManager().registerValidator(new FacetEditorValidator() {
      @Override
      public @NotNull ValidationResult check() {
        final Sdk sdk = PythonSdkUtil.findPythonSdk(myModule);
        if (sdk != null) {
          var factory = myModel.getSelected();
          if (factory != null && !factory.isFrameworkInstalled(sdk)) {
            return new ValidationResult(PyBundle.message("runcfg.testing.no.test.framework", factory.getName()),
                                        createQuickFix(sdk, facetErrorPanel, factory.getPackageRequired()));
          }
        }
        return ValidationResult.OK;
      }
    }, myTestRunnerComboBox);

    facetErrorPanel.getValidatorsManager().validate();
  }
private void initErrorValidation()