code: def test_average_treatment_effect(
      self,
      error_tolerance,
      Estimator,
      num_common_causes,
      num_instruments,
      num_effect_modifiers,
      num_treatments,
      num_frontdoor_variables,
      treatment_is_binary,
      outcome_is_binary,
  ):
      estimator_tester = SimpleEstimator(
          error_tolerance, Estimator, identifier_method="frontdoor"
      )
      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,
          num_frontdoor_variables=num_frontdoor_variables,
          treatment_is_binary=treatment_is_binary,
          outcome_is_binary=outcome_is_binary,
          confidence_intervals=[
              True,
          ],
          test_significance=[
              False,
          ],
          method_params={
              "num_simulations": 10,
              "num_null_simulations": 10,
          },
      )
  
file_path: dowhy/tests/causal_estimators/test_two_stage_regression_estimator.py
imports: import numpy
  import pandas
  import pytest
  from pytest import mark
  from dowhy import CausalModel
  from dowhy.causal_estimators.two_stage_regression_estimator import TwoStageRegressionEstimator
  from .base import SimpleEstimator
label_desc: Use image node_id 1 for calling the TestTwoStageRegressionEstimator 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, num_frontdoor_variables, treatment_is_binary, outcome_is_binary) without return types