code: def test_register_using_node_type_name(self):
      # Register a fake task scheduler.
      ts.TaskSchedulerRegistry.register(
          constants.IMPORTER_NODE_TYPE, _FakeTaskScheduler
      )
  
      # Create a task and verify that the correct scheduler is instantiated.
      task = test_utils.create_exec_node_task(
          node_uid=task_lib.NodeUid(
              pipeline_uid=task_lib.PipelineUid(pipeline_id="pipeline"),
              node_id="Importer",
          ),
          pipeline=self._pipeline,
      )
      task_scheduler = ts.TaskSchedulerRegistry.create_task_scheduler(
          mock.Mock(), self._pipeline, task
      )
      self.assertIsInstance(task_scheduler, _FakeTaskScheduler)
  
imports: from absl.testing.absltest import mock
  import tensorflow
  from tfx.orchestration import metadata
  from tfx.orchestration.experimental.core import constants
  from tfx.orchestration.experimental.core import task
  from tfx.orchestration.experimental.core import task_scheduler
  from tfx.orchestration.experimental.core import test_utils
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import test_case_utils
label_desc: Use image node_id 3 for calling the TaskSchedulerRegistryTest obj's underlying member method code with example usage: obj.test_register_using_node_type_name() without return types