code: def test_set_domain_invalid_domain(self):
      with self.assertRaisesRegex(TypeError, "domain is of type"):
          schema_util.set_domain(schema_pb2.Schema(), "feature", {})
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import flags
  from absl.testing import absltest
  from absl.testing import parameterized
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils import schema_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 23 for calling the SchemaUtilTest obj's underlying member method code with example usage: obj.test_set_domain_invalid_domain() without return types