code: def test_fit_detect(self):
      detector1 = QuantileDetector(
          low_quantile=0.05, high_quantile=0.95
      )
      detector1.fit(self.train)
      prediction1 = detector1.detect(self.train)
  
      detector2 = QuantileDetector(
          low_quantile=0.05, high_quantile=0.95
      )
      prediction2 = detector2.fit_detect(self.train)
  
      assert prediction1 == prediction2
  
file_path: darts/darts/tests/ad/test_detectors.py
imports: from typing import Sequence
  import numpy
  import pytest
  from darts import TimeSeries
  from darts.ad.detectors.quantile_detector import QuantileDetector
  from darts.ad.detectors.threshold_detector import ThresholdDetector
label_desc: Use image node_id 7 for calling the TestADDetectors obj's underlying member method code with example usage: obj.test_fit_detect() without return types