code: def runTest(self):
      data = self.spark.createDataFrame(
          [
              [
                  1,
                  """Capitalism has been dominant in the Western world since the end of feudalism, but most feel[who?] that 
              the term "mixed economies" more precisely describes most contemporary economies, due to their containing both 
              private-owned and state-owned enterprises. In capitalism, prices determine the demand-supply scale. For 
              example, higher demand for certain goods and services lead to higher prices and lower demand for certain 
              goods lead to lower prices. """,
              ]
          ]
      ).toDF("id", "text")
  
      document_assembler = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("documents")
      )
  
      instruction = self.tested_annotator
  
      pipeline = Pipeline().setStages([document_assembler, instruction])
      results = pipeline.fit(data).transform(data)
  
      results.select("instructor.embeddings").show(truncate=False)
  
file_path: spark-nlp/python/test/annotator/embeddings/instructor_embeddings_test.py
imports: import os
  import unittest
  import pytest
  from sparknlp.annotator import *
  from sparknlp.base import *
  from test.annotator.common.has_max_sentence_length_test import HasMaxSentenceLengthTests
  from test.util import SparkContextForTest
label_desc: Use image node_id 2 for calling the InstructorEmbeddingsTestSpec obj's underlying member method code with example usage: obj.runTest() without return types