docstr: Tests that check_static raises expected exceptions.
docstr_tok: ["Tests","that","check_static","raises","expected","exceptions","."]
code: def test_check_static_raises_exceptions(
      self,
      error_msg,
      has_rank,
      has_rank_greater_than,
      has_rank_less_than,
      has_dim_equals,
      has_dim_greater_than=None,
      has_dim_less_than=None,
  ):
      """Tests that check_static raises expected exceptions."""
      self.assert_exception_is_raised(
          shape.check_static,
          error_msg,
          shapes=((1, 2, 3),),
          has_rank=has_rank,
          has_rank_greater_than=has_rank_greater_than,
          has_rank_less_than=has_rank_less_than,
          has_dim_equals=has_dim_equals,
          has_dim_greater_than=has_dim_greater_than,
          has_dim_less_than=has_dim_less_than,
      )
  
file_path: graphics/tensorflow_graphics/util/tests/shape_test.py
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 3 for calling the ShapeTest obj's underlying member method code with example usage: obj.test_check_static_raises_exceptions(error_msg, has_rank, has_rank_greater_than, has_rank_less_than, has_dim_equals, has_dim_greater_than, has_dim_less_than) without return types