code: def test_load_all_splits(self):
      name = "empty_dataset_builder"
      # EmptyDatasetBuilder returns self from as_dataset
      builder = load.load(name=name, data_dir="foo")
      self.assertTrue(builder.as_dataset_called)
      self.assertIsNone(builder.as_dataset_kwargs.pop("split"))
  
imports: import abc
  import re
  from unittest import mock
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import load
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import py_utils
  import tensorflow_datasets.public_api
  from tensorflow_datasets.testing.dummy_config_based_datasets.dummy_ds_1 import dummy_ds_1_dataset_builder
label_desc: Use image node_id 8 for calling the RegisteredTest obj's underlying member method code with example usage: obj.test_load_all_splits() without return types