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