code: def testConsecutiveSpans_MultipleGaps(self):
      a1 = test_utils.DummyArtifact()
      a3 = test_utils.DummyArtifact()
      a5 = test_utils.DummyArtifact()
  
      a1.span = 1
      a3.span = 3
      a5.span = 5
  
      artifacts = [a5, a1, a3]
  
      actual = self._consecutive_spans(artifacts)
      self.assertEqual(actual, [a1])
  
imports: from typing import Sequence
  import tensorflow
  from tfx import types
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.types import artifact
label_desc: Use image node_id 7 for calling the ConsecutiveSpansOpTest obj's underlying member method code with example usage: obj.testConsecutiveSpans_MultipleGaps() without return types