def METHOD_NAME(self, mock_spark_session):
    """Tests GCSToBigqueryTemplate runs with parquet format"""
    azure_blob_storage_to_bigquery_template = AzureBlobStorageToBigQueryTemplate()
    mock_parsed_args = azure_blob_storage_to_bigquery_template.parse_args([
        "--azure.blob.bigquery.input.format=parquet",
        "--azure.blob.bigquery.output.mode=append",
        "--azure.blob.bigquery.input.location=gs://test",
        "--azure.blob.bigquery.output.dataset=dataset",
        "--azure.blob.bigquery.output.table=table",
        "--azure.blob.bigquery.temp.bucket.name=bucket",
        "--azure.blob.storage.account=test_storage_account",
        "--azure.blob.container.name=test_container",
        "--azure.blob.sas.token=test_sas_token"])
    mock_spark_session.read.parquet.return_value = mock_spark_session.dataframe.DataFrame
    azure_blob_storage_to_bigquery_template.run(mock_spark_session, mock_parsed_args)
    mock_spark_session.read.parquet.assert_called_once_with("gs://test")
    mock_spark_session.dataframe.DataFrame.write.format.assert_called_once_with(
        constants.FORMAT_BIGQUERY)
    mock_spark_session.dataframe.DataFrame.write.format(
    ).option.assert_called_once_with(constants.TABLE, "dataset.table")
    mock_spark_session.dataframe.DataFrame.write.format().option(
    ).option.assert_called_once_with(constants.GCS_BQ_TEMP_BUCKET, "bucket")
    mock_spark_session.dataframe.DataFrame.write.format(
    ).option().option().mode.assert_called_once_with(constants.OUTPUT_MODE_APPEND)
    mock_spark_session.dataframe.DataFrame.write.format(
    ).option().option().mode().save.assert_called_once()