code: def runTest(self):
      data = self.spark.createDataFrame(
          [
              [
                  1,
                  "Which is the capital of France? Who was the first president of USA?",
              ],
              [1, "Which is the capital of Bulgaria ?"],
              [2, "Who is Donald Trump?"],
          ]
      ).toDF("id", "text")
  
      document_assembler = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("documents")
      )
  
      sentence_detector = (
          SentenceDetectorDLModel.pretrained()
          .setInputCols(["documents"])
          .setOutputCol("questions")
      )
  
      t5 = (
          T5Transformer.pretrained()
          .setInputCols(["questions"])
          .setOutputCol("answers")
      )
  
      pipeline = Pipeline().setStages(
          [document_assembler, sentence_detector, t5]
      )
      results = pipeline.fit(data).transform(data)
  
      results.select("questions.result", "answers.result").show(
          truncate=False
      )
  
imports: import unittest
  import pytest
  from sparknlp.annotator import *
  from sparknlp.base import *
  from test.util import SparkContextForTest
label_desc: Use image node_id 2 for calling the T5TransformerQATestSpec obj's underlying member method code with example usage: obj.runTest() without return types