def METHOD_NAME(self, mock_spark_session):
    """Tests GCSToBigTableTemplate runs with csv format"""
    gcs_to_bigtable_template = GCSToBigTableTemplate()
    mock_parsed_args = gcs_to_bigtable_template.parse_args(
        ["--gcs.bigtable.input.format=csv",
         "--gcs.bigtable.input.location=gs://test",
         "--gcs.bigtable.input.header=false",
         "--gcs.bigtable.hbase.catalog.json={key:value}"])
    mock_spark_session.read.format().options().load.return_value = mock_spark_session.dataframe.DataFrame
    gcs_to_bigtable_template.run(mock_spark_session, mock_parsed_args)
    mock_spark_session.read.format.assert_called_with(
        constants.FORMAT_CSV)
    mock_spark_session.read.format().options.assert_called_with(**{
        constants.CSV_HEADER: 'false',
        constants.CSV_INFER_SCHEMA: 'true',
    })
    mock_spark_session.read.format().options().load.assert_called_once_with("gs://test")
    mock_spark_session.dataframe.DataFrame.write.format. \
        assert_called_once_with(constants.FORMAT_HBASE)
    mock_spark_session.dataframe.DataFrame.write.format().options. \
        assert_called_with(catalog='{key:value}')
    mock_spark_session.dataframe.DataFrame.write.format().options().option. \
        assert_called_once_with('hbase.spark.use.hbasecontext', "false")