code: def setUp(self):
      out_fname = test_utils.test_tmpfile("output.bed")
      self.writer = bed_writer.BedWriter.to_file(
          out_fname,
          bed_pb2.BedHeader(num_fields=12),
          bed_pb2.BedWriterOptions(),
      )
      self.expected_bed_content = [
          "chr1\t10\t20\tfirst\t100\t+\t12\t18\t255,124,1\t3\t2,6,2\t10,12,18\n",
          "chr1\t100\t200\tsecond\t250\t.\t120\t180\t252,122,12\t2\t35,40\t"
          "100,160\n",
      ]
      self.record = bed_pb2.BedRecord(
          reference_name="chr1", start=20, end=30, name="r"
      )
  
file_path: deepvariant/third_party/nucleus/io/python/bed_writer_wrap_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  from etils import epath
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.io.python import bed_writer
  from third_party.nucleus.protos import bed_pb2
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 1 for calling the WrapBedWriterTest obj's underlying member method code with example usage: obj.setUp() without return types