class_docstr: Test Trial object and class.
docstr: Check if a Trial with a shape > 1 has the same id once it has been through the DB.
docstr_tok: ["Check","if","a","Trial","with","a","shape",">","1","has","the","same","id","once","it","has","been","through","the","DB","."]
code: def test_higher_shape_id_is_same(self):
      """Check if a Trial with a shape > 1 has the same id once it has been through the DB."""
      x = {"name": "/x", "value": [1, 2], "type": "real"}
      trial = Trial(params=[x])
      assert (
          trial.id
          == Trial(
              **bson.BSON.decode(bson.BSON.encode(trial.to_dict()))
          ).id
      )
  
imports: import copy
  import datetime
  import os
  import warnings
  import bson
  import numpy
  import pytest
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 28 for calling the TestTrial obj's underlying member method code with example usage: obj.test_higher_shape_id_is_same() without return types