class_docstr: Tests for c4_wsrs dataset.
code: def setUpClass(cls):
      super().setUpClass()
      beam = tfds.core.lazy_imports.apache_beam
      inputs = [
          tf.nest.map_structure(
              tf.convert_to_tensor,
              {
                  "content-length": "abc",
                  "content-type": "text/plain",
                  "text": (
                      "patient in the emergency room with complications. "
                      "will check in morning."
                  ),
                  "timestamp": "this is a timestamp",
                  "url": "http://google.com/1",
              },
          ),
          tf.nest.map_structure(
              tf.convert_to_tensor,
              {
                  "content-length": "abc",
                  "content-type": "text/plain",
                  "text": (
                      "magnetic resonance imaging test in patient with "
                      "lower back pain. send for treatment."
                  ),
                  "timestamp": "this is a timestamp",
                  "url": "http://google.com/2",
              },
          ),
      ]
  
      cls._exit_stack = contextlib.ExitStack().__enter__()
      cls._exit_stack.enter_context(
          mock.patch.object(tfds, "builder", autospec=True)
      )
      cls._exit_stack.enter_context(
          mock.patch.object(
              tfds.beam,
              "ReadFromTFDS",
              return_value=beam.Create(inputs),
          )
      )
  
file_path: datasets/tensorflow_datasets/text/c4_wsrs/c4_wsrs_test.py
imports: import contextlib
  from unittest import mock
  import tensorflow
  from tensorflow_datasets import testing
  import tensorflow_datasets.public_api
  from tensorflow_datasets.text.c4_wsrs import c4_wsrs
label_desc: Use image node_id 1 for calling the C4WSRSTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types