code: def test_trial():
      p = {"a": 1, "b": 2}
      t = sherpa.Trial(1, p)
      assert t.id == 1
      assert t.parameters == p
  
file_path: sherpa/tests/test_study.py
imports: import pytest
  import sherpa
  import sherpa.core
  import sherpa.schedulers
  import sherpa.database
  import pandas
  import collections
  from testing_utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: test_trial() without return types