code: def test_checking_csv_header(self):
      path = tempfile.mkdtemp()
      shutil.rmtree(path)
      try:
          self.spark.createDataFrame([[1, 1000], [2000, 2]]).toDF(
              "f1", "f2"
          ).write.option("header", "true").csv(path)
          schema = StructType(
              [
                  StructField("f2", IntegerType(), nullable=True),
                  StructField("f1", IntegerType(), nullable=True),
              ]
          )
          df = (
              self.spark.read.option("header", "true")
              .schema(schema)
              .csv(path, enforceSchema=False)
          )
          self.assertRaisesRegex(
              Exception,
              "CSV header does not conform to the schema",
              lambda: df.collect(),
          )
      finally:
          shutil.rmtree(path)
  
imports: import shutil
  import tempfile
  import uuid
  import os
  from pyspark.sql import Row
  from pyspark.sql.types import IntegerType, StructField, StructType, LongType, StringType
  from pyspark.testing.sqlutils import ReusedSQLTestCase
label_desc: Use image node_id 13 for calling the DataSourcesTestsMixin obj's underlying member method code with example usage: obj.test_checking_csv_header() without return types