code: def test_empty_split(self):
      with self.assertRaisesWithPredicateMatch(
          ValueError,
          "The total number of generated examples is 0. This should be >0!",
      ):
          self._write(to_write=[])
  
imports: import json
  import os
  from typing import Optional
  from unittest import mock
  from etils import epath
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_utils
  from tensorflow_datasets.core import example_parser
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import writer
  from tensorflow_datasets.core.utils import shard_utils
  from tensorflow_datasets.core.writer import _ShardSpec
label_desc: Use image node_id 3 for calling the TfrecordsWriterBeamTest obj's underlying member method code with example usage: obj.test_empty_split() without return types