code: def test_deduplicate(self) -> None:
      sobol = RandomModelBridge(
          search_space=get_small_discrete_search_space(),
          model=SobolGenerator(deduplicate=True),
          transforms=Cont_X_trans,
      )
      for _ in range(4):  # Search space is {[0, 1], {"red", "panda"}}
          self.assertEqual(len(sobol.gen(1).arms), 1)
      with self.assertRaises(SearchSpaceExhausted):
          sobol.gen(1)
  
imports: from collections import OrderedDict
  from unittest import mock
  import numpy
  from ax.core.observation import ObservationFeatures
  from ax.core.parameter import ParameterType, RangeParameter
  from ax.core.parameter_constraint import OrderConstraint, SumConstraint
  from ax.core.search_space import SearchSpace
  from ax.exceptions.core import SearchSpaceExhausted
  from ax.modelbridge.random import RandomModelBridge
  from ax.modelbridge.registry import Cont_X_trans
  from ax.models.random.base import RandomModel
  from ax.models.random.sobol import SobolGenerator
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_small_discrete_search_space
label_desc: Use image node_id 6 for calling the RandomModelBridgeTest obj's underlying member method code with example usage: obj.test_deduplicate() without return types