code: def test_reseed_rng() -> None:
      sampler = MOTPEMultiObjectiveSampler()
      original_random_state = (
          sampler._motpe_sampler._rng.rng.get_state()
      )
  
      with patch.object(
          sampler._motpe_sampler,
          "reseed_rng",
          wraps=sampler._motpe_sampler.reseed_rng,
      ) as mock_object:
          sampler.reseed_rng()
          assert mock_object.call_count == 1
      assert str(original_random_state) != str(
          sampler._motpe_sampler._rng.rng.get_state()
      )
  
file_path: optuna/tests/multi_objective_tests/samplers_tests/test_motpe.py
imports: from typing import Dict
  from typing import Tuple
  from unittest.mock import Mock
  from unittest.mock import patch
  import pytest
  import optuna
  from optuna import multi_objective
  from optuna.multi_objective.samplers import MOTPEMultiObjectiveSampler
  from optuna.samplers import MOTPESampler
label_desc: Use image node_id 1 for calling a global function with example usage: test_reseed_rng() without return types