def METHOD_NAME(self):
    self._env = thread_environment.ThreadEnvironment(
        lambda: suite_safety_gym.load(environment_name=
                                      'Safexp-PointGoal1-v0'))
    self.assertIsInstance(self._env, alf_environment.AlfEnvironment)
    self.assertEqual(torch.float32, self._env.observation_spec().dtype)
    self.assertEqual((suite_safety_gym.VectorReward.REWARD_DIMENSION, ),
                     self._env.reward_spec().shape)
    actions = self._env.action_spec().sample()
    for _ in range(10):
        time_step = self._env.step(actions)