code: def testBuild(self):
      policy = (
          bern_thompson_sampling_policy.BernoulliThompsonSamplingPolicy(
              self._time_step_spec,
              self._action_spec,
              alpha=_prepare_alphas(self._action_spec),
              beta=_prepare_betas(self._action_spec),
          )
      )
  
      self.assertEqual(policy.time_step_spec, self._time_step_spec)
      self.assertEqual(policy.action_spec, self._action_spec)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tf_agents.bandits.policies import bernoulli_thompson_sampling_policy
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.utils import test_utils
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the BernoulliThompsonSamplingPolicyTest obj's underlying member method code with example usage: obj.testBuild() without return types