code: def testSampleCornerConcentrations(self):
      seed_stream = test_util.test_seed_stream()
      d = beta_binomial.BetaBinomial(
          concentration0=[1.0, 0.0],
          concentration1=[0.0, 1.0],
          total_count=50.0,
      )
      self.assertAllEqual(
          d.sample(10, seed=seed_stream()), [[0, 50]] * 10
      )
  
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import bernoulli
  from tensorflow_probability.python.distributions import beta_binomial
  from tensorflow_probability.python.distributions import dirichlet_multinomial
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 7 for calling the BetaBinomialTest obj's underlying member method code with example usage: obj.testSampleCornerConcentrations() without return types