code: def test_overlaps_variant_with_ranges(self):
      variant = variants_pb2.Variant(
          reference_name="chr2", start=10, end=11
      )
      range_set = ranges.RangeSet([ranges.make_range("chr1", 0, 5)])
      with mock.patch.object(range_set, "overlaps") as mock_overlaps:
          mock_overlaps.return_value = True
          self.assertEqual(range_set.variant_overlaps(variant), True)
          mock_overlaps.assert_called_once_with("chr2", 10)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  import mock
  from third_party.nucleus.protos import position_pb2
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 8 for calling the RangesTests obj's underlying member method code with example usage: obj.test_overlaps_variant_with_ranges() without return types