code: def testInvalidParam(self):
      self.assertConfigureFails(TruePeakDetector(), {"sampleRate": -1})
      self.assertConfigureFails(
          TruePeakDetector(), {"oversamplingFactor": 0}
      )
      self.assertConfigureFails(TruePeakDetector(), {"quality": 5})
  
file_path: essentia/test/src/unittests/audioproblems/test_truepeakdetector.py
imports: import numpy
  from math import *
  from essentia_test import *
  from essentia import array
label_desc: Use image node_id 3 for calling the TestTruePeakDetector obj's underlying member method code with example usage: obj.testInvalidParam() without return types