def METHOD_NAME(self):
    image_shape = (4, 8, 8, 3)
    image = tf.random.uniform(shape=image_shape) * 255.0
    layer = preprocessing.RandomHue(factor=(0.3, 0.8), value_range=(0, 255))
    output = layer(image)
    self.assertEqual(image.shape, output.shape)
    self.assertNotAllClose(image, output)