code: def test_get_domain_using_path(self):
      schema = text_format.Parse(
          """
          feature {
            name: "feature1"
            type: STRUCT
            struct_domain {
              feature {
                name: "sub_feature1"
                bool_domain {
                  name: "domain1"
                }
              }
            }
          }
          """,
          schema_pb2.Schema(),
      )
      domain1 = schema_util.get_domain(
          schema, types.FeaturePath(["feature1", "sub_feature1"])
      )
      self.assertIs(
          domain1,
          schema.feature[0].struct_domain.feature[0].bool_domain,
      )
  
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 12 for calling the SchemaUtilTest obj's underlying member method code with example usage: obj.test_get_domain_using_path() without return types