def METHOD_NAME(self):
    """Tests HiveToBigQueryTemplate.parse_args()"""
    hive_to_bigquery_template = HiveToBigQueryTemplate()
    parsed_args = hive_to_bigquery_template.parse_args(
        ["--hive.bigquery.input.database=database",
        "--hive.bigquery.input.table=table",
         "--hive.bigquery.output.dataset=dataset",
         "--hive.bigquery.output.table=table",
         "--hive.bigquery.temp.bucket.name=bucket",
         "--hive.bigquery.output.mode=overwrite",
         "--hive.bigquery.temp.view.name=temp",
         "--hive.bigquery.sql.query='select * from temp'"])
    assert parsed_args["hive.bigquery.input.database"] == "database"
    assert parsed_args["hive.bigquery.input.table"] == "table"
    assert parsed_args["hive.bigquery.output.dataset"] == "dataset"
    assert parsed_args["hive.bigquery.output.table"] == "table"
    assert parsed_args["hive.bigquery.temp.bucket.name"] == "bucket"
    assert parsed_args["hive.bigquery.output.mode"] == "overwrite"
    assert parsed_args["hive.bigquery.temp.view.name"] == "temp"
    assert parsed_args["hive.bigquery.sql.query"] == "'select * from temp'"