code: def _create_new_trial(
      study: multi_objective.study.MultiObjectiveStudy,
  ) -> multi_objective.trial.FrozenMultiObjectiveTrial:
      trial_id = study._study._storage.create_new_trial(
          study._study._study_id
      )
      trial = study._study._storage.get_trial(trial_id)
      return multi_objective.trial.FrozenMultiObjectiveTrial(
          study.n_objectives, trial
      )
  
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 4 for calling a global function with example usage: _create_new_trial(study) and returns: multi_objective