code: def test_list_experiments_calls_bindings_with_params(
      mock_bindings: mock.MagicMock,
      make_client: Callable[[], Determined],
  ) -> None:
      client = make_client()
      exps_resp = api_responses.sample_get_experiments()
  
      params = {
          "sort_by": experiment.ExperimentSortBy.ID,
          "order_by": determined.OrderBy.ASCENDING,
          "experiment_ids": list(range(10)),
          "labels": ["label1", "label2"],
          "users": ["user1", "user2"],
          "states": [
              experiment.ExperimentState.COMPLETED,
              experiment.ExperimentState.ACTIVE,
          ],
          "name": "exp name",
          "project_id": 1,
      }
  
      mock_bindings.side_effect = api_responses.iter_pages(
          pageable_resp=exps_resp,
          pageable_attribute="experiments",
      )
  
      list(client.list_experiments(**params))  # type: ignore
  
      _, call_kwargs = mock_bindings.call_args_list[0]
  
      assert call_kwargs["sortBy"] == params["sort_by"]._to_bindings()  # type: ignore
      assert call_kwargs["orderBy"] == params["order_by"]._to_bindings()  # type: ignore
      assert (
          call_kwargs["experimentIdFilter_incl"]
          == params["experiment_ids"]
      )
      assert call_kwargs["labels"] == params["labels"]
      assert call_kwargs["users"] == params["users"]
      assert call_kwargs["states"] == [
          state._to_bindings() for state in params["states"]  # type: ignore
      ]
      assert call_kwargs["name"] == params["name"]
      assert call_kwargs["projectId"] == params["project_id"]
  
file_path: determined/harness/tests/determined/common/experimental/test_determined.py
imports: import math
  from typing import Callable, List
  from unittest import mock
  import pytest
  import responses
  from determined.common.api import authentication, errors
  from determined.common.experimental import determined, experiment
  from tests.fixtures import api_responses
label_desc: Use image node_id 10 for calling a global function with example usage: test_list_experiments_calls_bindings_with_params(mock_bindings, make_client) without return types