code: def test_initialize_rasterized_attribute_with_wrong_rank(self):
      with self.assertRaisesRegex(
          ValueError, "Expected input value to be rank 4"
      ):
          fb.RasterizedAttribute(tf.ones([4, 4, 1]))
  
file_path: graphics/tensorflow_graphics/rendering/tests/framebuffer_test.py
imports: import tensorflow
  from tensorflow_graphics.rendering import framebuffer
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 2 for calling the FramebufferTest obj's underlying member method code with example usage: obj.test_initialize_rasterized_attribute_with_wrong_rank() without return types