class_docstr: Test Trial object and class.
docstr: Convert to objects form using `Trial.build`.
docstr_tok: ["Convert","to","objects","form","using","`","Trial.build","`","."]
code: def test_build_trials(self, exp_config):
      """Convert to objects form using `Trial.build`."""
      trials = Trial.build(exp_config[1])
      assert list(map(lambda x: x.to_dict(), trials)) == exp_config[1]
  
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 12 for calling the TestTrial obj's underlying member method code with example usage: obj.test_build_trials(exp_config) without return types