code: def test_average_treatment_effect(
      self,
      error_tolerance,
      Estimator,
      num_common_causes,
      num_instruments,
      num_effect_modifiers,
      num_treatments,
      treatment_is_binary,
      outcome_is_binary,
      identifier_method,
  ):
      estimator_tester = SimpleEstimator(
          error_tolerance,
          Estimator,
          identifier_method=identifier_method,
      )
      estimator_tester.average_treatment_effect_testsuite(
          num_common_causes=num_common_causes,
          num_instruments=num_instruments,
          num_effect_modifiers=num_effect_modifiers,
          num_treatments=num_treatments,
          treatment_is_binary=treatment_is_binary,
          outcome_is_binary=outcome_is_binary,
          dataset="simple-iv",
          method_params={
              "rd_variable_name": "Z0",
              "rd_threshold_value": 0.5,
              "rd_bandwidth": 0.2,
          },
      )
  
imports: from pytest import mark
  from dowhy.causal_estimators.regression_discontinuity_estimator import RegressionDiscontinuityEstimator
  from .base import SimpleEstimator
label_desc: Use image node_id 1 for calling the TestRegressionDiscontinuityEstimator obj's underlying member method code with example usage: obj.test_average_treatment_effect(error_tolerance, Estimator, num_common_causes, num_instruments, num_effect_modifiers, num_treatments, treatment_is_binary, outcome_is_binary, identifier_method) without return types