code: def test_task_type_ids(self):
      self.assertEqual(
          "ExecNodeTask", task_lib.ExecNodeTask.task_type_id()
      )
      self.assertEqual(
          "CancelNodeTask", task_lib.CancelNodeTask.task_type_id()
      )
  
file_path: tfx/tfx/orchestration/experimental/core/task_test.py
imports: import tensorflow
  from tfx.orchestration.experimental.core import task
  from tfx.orchestration.experimental.core import test_utils
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import test_case_utils
label_desc: Use image node_id 2 for calling the TaskTest obj's underlying member method code with example usage: obj.test_task_type_ids() without return types