code: def test_random_mo_sampler_reseed_rng() -> None:
      sampler = (
          optuna.multi_objective.samplers.RandomMultiObjectiveSampler()
      )
      original_random_state = sampler._sampler._rng.rng.get_state()
  
      with patch.object(
          sampler._sampler,
          "reseed_rng",
          wraps=sampler._sampler.reseed_rng,
      ) as mock_object:
          sampler.reseed_rng()
          assert mock_object.call_count == 1
      assert str(original_random_state) != str(
          sampler._sampler._rng.rng.get_state()
      )
  
file_path: optuna/tests/multi_objective_tests/samplers_tests/test_samplers.py
imports: from typing import Callable
  from unittest.mock import patch
  import numpy
  import pytest
  import optuna
  from optuna import multi_objective
  from optuna.distributions import BaseDistribution
  from optuna.distributions import CategoricalDistribution
  from optuna.distributions import FloatDistribution
  from optuna.distributions import IntDistribution
  from optuna.multi_objective.samplers import BaseMultiObjectiveSampler
label_desc: Use image node_id 2 for calling a global function with example usage: test_random_mo_sampler_reseed_rng() without return types