code: def testInvalidParam(self):
      self.assertConfigureFails(OnsetDetection(), {"sampleRate": -1})
      self.assertConfigureFails(OnsetDetection(), {"method": "unknown"})
  
file_path: essentia/test/src/unittests/rhythm/test_onsetdetection.py
imports: from numpy import *
  from essentia_test import *
label_desc: Use image node_id 4 for calling the TestOnsetDetection obj's underlying member method code with example usage: obj.testInvalidParam() without return types