class_docstr: Inherit this class to test your DatasetCollection class.
  
  You must set the following class attribute:
    * DATASET_COLLECTION_CLASS: class object of DatasetCollection to test.
  
  You may set the following class attribute:
    * VERSION: The version of the DatasetCollection used to run the test.
      Defaults to None (latest version).
    * DATASETS_TO_TEST: List containing the datasets to test existence for. If
      no dataset is specified, the existence of all datasets in the collection
      will be tested.
    * CHECK_DATASETS_VERSION: Whether to check for the existence of the
      versioned datasets in the dataset collection, or for their default
      versions. Defaults to True.
  
  This test case will check for the following:
  - The dataset collection is correctly registered, i.e.
    `tfds.dataset_collection` works.
  - The datasets in the dataset collection exist, i.e. their builder is
    registered in tfds. If DATASETS_TO_TEST is not specified, all datasets in
    the collection will be checked.
docstr: Checks that the dataset collection is registered.
docstr_tok: ["Checks","that","the","dataset","collection","is","registered","."]
code: def test_dataset_collection_is_registered(self, dataset_collection):
      """Checks that the dataset collection is registered."""
      assert registered.is_dataset_collection(
          dataset_collection.info.name
      )
  
file_path: datasets/tensorflow_datasets/testing/dataset_collection_builder_testing.py
imports: import typing
  from typing import List, Optional, Type
  import pytest
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_collection_builder
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import registered
label_desc: Use image node_id 3 for calling the DatasetCollectionTestBase obj's underlying member method code with example usage: obj.test_dataset_collection_is_registered(dataset_collection) without return types