docstr: Tests that the shape exceptions are properly raised for area weighted sampler.
docstr_tok: ["Tests","that","the","shape","exceptions","are","properly","raised","for","area","weighted","sampler","."]
code: def test_area_sampler_exception_raised(self, error_msg, *shapes):
      """Tests that the shape exceptions are properly raised for area weighted sampler."""
      self.assert_exception_is_raised(
          sampler.area_weighted_random_sample_triangle_mesh,
          error_msg,
          shapes,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.geometry.representation.mesh import sampler
  from tensorflow_graphics.geometry.representation.mesh.tests import mesh_test_utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 16 for calling the MeshSamplerTest obj's underlying member method code with example usage: obj.test_area_sampler_exception_raised(error_msg) without return types