code: def test_no_cfs(
      self,
      desired_class,
      desired_range,
      sample_custom_query_1,
      total_CFs,
      features_to_vary,
      permitted_range,
  ):
      with pytest.raises(UserConfigValidationException):
          self.exp._generate_counterfactuals(
              features_to_vary=features_to_vary,
              query_instance=sample_custom_query_1,
              total_CFs=total_CFs,
              desired_class=desired_class,
              desired_range=desired_range,
              permitted_range=permitted_range,
          )
  
imports: import pytest
  from raiutils.exceptions import UserConfigValidationException
  from dice_ml.counterfactual_explanations import CounterfactualExplanations
  from dice_ml.diverse_counterfactuals import CounterfactualExamples
label_desc: Use image node_id 3 for calling the TestDiceRandomBinaryClassificationMethods obj's underlying member method code with example usage: obj.test_no_cfs(desired_class, desired_range, sample_custom_query_1, total_CFs, features_to_vary, permitted_range) without return types