@TestOnly
  public boolean setSelectedTemplate(@NotNull String groupName, @Nullable String name) {
    myProjectTypeList.setSelectedTemplateGroup(groupName);
    var selectedGroup = myProjectTypeList.getSelectedTemplateGroup();
    if (selectedGroup == null || !groupName.equals(selectedGroup.getName())) {
      return false;
    }
    if (name != null) {
      setTemplatesList(selectedGroup);
      return myTemplatesList.setSelectedTemplate(name);
    }
    return true;
  }
@TestOnly
  public boolean setSelectedTemplate(@NotNull String groupName, @Nullable String name)