code: def runTest(self):
      self.assertRaises(
          TypeError, SentenceDetector().setInputCols, self.dict_input
      )
  
      self.assertRaises(
          TypeError, SentenceDetector().setInputCols, self.int_input
      )
  
file_path: spark-nlp/python/test/common/annotator_properties_test.py
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 AnnotatorPropertiesTestInvalidInput obj's underlying member method code with example usage: obj.runTest() without return types