code: def test_generation_strategy_created_record_from_generation_strategy(
      self,
  ) -> None:
      gs = get_generation_strategy()
      record = GenerationStrategyCreatedRecord.from_generation_strategy(
          generation_strategy=gs
      )
      expected = GenerationStrategyCreatedRecord(
          generation_strategy_name="Sobol+BO_MIXED",
          num_requested_initialization_trials=6,
          num_requested_bayesopt_trials=-1,
          num_requested_other_trials=0,
          max_parallelism=3,
      )
      self.assertEqual(record, expected)
  
imports: from ax.telemetry.generation_strategy import GenerationStrategyCreatedRecord
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.modeling_stubs import get_generation_strategy
label_desc: Use image node_id 1 for calling the TestGenerationStrategy obj's underlying member method code with example usage: obj.test_generation_strategy_created_record_from_generation_strategy() without return types