code: def testApplyBuckets(self, x, bucket_boundaries, expected_buckets):
      x = tf.constant(x)
      bucket_boundaries = tf.constant(bucket_boundaries)
      expected_buckets = tf.constant(expected_buckets, dtype=tf.int64)
      buckets = mappers.apply_buckets(x, bucket_boundaries)
      self.assertAllEqual(buckets, expected_buckets)
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 32 for calling the MappersTest obj's underlying member method code with example usage: obj.testApplyBuckets(x, bucket_boundaries, expected_buckets) without return types