code: def testInvalidObjectives(self):
      with self.assertRaisesRegex(
          ValueError, "The number of input objectives should be"
      ):
          direction = [1, 0, 0]
          scalarizer = multi_objective_scalarizer.HyperVolumeScalarizer(
              direction, self._hv_params
          )
          multi_objectives = tf.constant(
              [[1, 2, 3, 4]], dtype=tf.float32
          )
          scalarizer(multi_objectives)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import tensorflow.compat.v2
  from tf_agents.bandits.multi_objective import multi_objective_scalarizer
label_desc: Use image node_id 3 for calling the HyperVolumeScalarizerTest obj's underlying member method code with example usage: obj.testInvalidObjectives() without return types