code: def test_benchmark_method(self) -> None:
      gs = GenerationStrategy(
          steps=[
              GenerationStep(
                  model=Models.SOBOL,
                  num_trials=10,
              )
          ],
          name="SOBOL",
      )
      options = get_sequential_optimization_scheduler_options()
      method = BenchmarkMethod(
          name="Sobol10",
          generation_strategy=gs,
          scheduler_options=options,
      )
  
      self.assertEqual(method.generation_strategy, gs)
      self.assertEqual(method.scheduler_options, options)
      self.assertEqual(options.max_pending_trials, 1)
      self.assertEqual(options.init_seconds_between_polls, 0)
      self.assertEqual(options.min_seconds_before_poll, 0)
      self.assertEqual(options.timeout_hours, 4)
  
      options = get_sequential_optimization_scheduler_options(
          timeout_hours=10
      )
      method = BenchmarkMethod(
          name="Sobol10",
          generation_strategy=gs,
          scheduler_options=options,
      )
      self.assertEqual(method.scheduler_options.timeout_hours, 10)
  
imports: from ax.benchmark.benchmark_method import BenchmarkMethod, get_sequential_optimization_scheduler_options
  from ax.modelbridge.generation_strategy import GenerationStep, GenerationStrategy
  from ax.modelbridge.registry import Models
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 1 for calling the TestBenchmarkMethod obj's underlying member method code with example usage: obj.test_benchmark_method() without return types