code: def testValidateOutOfBounds(self):
      env = get_mock_env(
          self._action_spec,
          self._observation_spec,
          ts.restart(np.array([-11], dtype=np.int32)),
      )
  
      with self.assertRaisesRegexp(
          ValueError, "does not match expected"
      ):
          utils.validate_py_environment(env, episodes=1)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing.absltest import mock
  import numpy
  from tf_agents.environments import random_py_environment
  from tf_agents.environments import utils
  from tf_agents.specs import array_spec
  from tf_agents.trajectories import time_step
  from tf_agents.utils import test_utils
label_desc: Use image node_id 7 for calling the UtilsTest obj's underlying member method code with example usage: obj.testValidateOutOfBounds() without return types