code: def test_list_trials_two_values(sagemaker_session, datetime_obj):
      experiment_obj = experiment.Experiment(
          sagemaker_session=sagemaker_session
      )
      sagemaker_session.sagemaker_client.list_trials.return_value = {
          "TrialSummaries": [
              {
                  "Name": "trial-foo-1",
                  "CreationTime": datetime_obj,
                  "LastModifiedTime": datetime_obj,
              },
              {
                  "Name": "trial-foo-2",
                  "CreationTime": datetime_obj,
                  "LastModifiedTime": datetime_obj,
              },
          ]
      }
  
      assert list(experiment_obj.list_trials()) == [
          TrialSummary(
              name="trial-foo-1",
              creation_time=datetime_obj,
              last_modified_time=datetime_obj,
          ),
          TrialSummary(
              name="trial-foo-2",
              creation_time=datetime_obj,
              last_modified_time=datetime_obj,
          ),
      ]
  
imports: from __future__ import absolute_import
  import botocore.exceptions
  import pytest
  import unittest.mock
  import datetime
  from unittest.mock import patch
  from sagemaker import Session
  from sagemaker.experiments import experiment
  from sagemaker.experiments._api_types import TrialSummary
label_desc: Use image node_id 11 for calling a global function with example usage: test_list_trials_two_values(sagemaker_session, datetime_obj) without return types