code: def test_create(sagemaker_session):
      client = sagemaker_session.sagemaker_client
      client.create_trial.return_value = {
          "Arn": "arn:aws:1234",
          "TrialName": "name-value",
      }
      trial_obj = _Trial.create(
          trial_name="name-value",
          experiment_name="experiment-name-value",
          sagemaker_session=sagemaker_session,
      )
      assert trial_obj.trial_name == "name-value"
      client.create_trial.assert_called_with(
          TrialName="name-value", ExperimentName="experiment-name-value"
      )
  
imports: from __future__ import absolute_import
  import botocore
  import pytest
  import datetime
  from unittest.mock import patch
  from sagemaker import Session
  from sagemaker.experiments._api_types import TrialSummary
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
label_desc: Use image node_id 3 for calling a global function with example usage: test_create(sagemaker_session) without return types