@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Dataset')
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Client')
def test_create_empty_dataset_with_params(self, mock_client, mock_dataset):
    self.hook.create_empty_dataset(project_id=PROJECT_ID, dataset_id=DATASET_ID, location=LOCATION)
    expected_body = {'location': LOCATION, 'datasetReference': {'datasetId': DATASET_ID, 'projectId': PROJECT_ID}}
    api_repr = mock_dataset.from_api_repr
    api_repr.assert_called_once_with(expected_body)
    mock_client.return_value.create_dataset.assert_called_once_with(dataset=api_repr.return_value, exists_ok=True)
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Dataset')
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Client')
def test_create_empty_dataset_with_params(self, mock_client, mock_dataset):
    self.hook.create_empty_dataset(project_id=PROJECT_ID, dataset_id=DATASET_ID, location=LOCATION)
    expected_body = {'location': LOCATION, 'datasetReference': {'datasetId': DATASET_ID, 'projectId': PROJECT_ID}}
    api_repr = mock_dataset.from_api_repr
    api_repr.assert_called_once_with(expected_body)
    mock_client.return_value.create_dataset.assert_called_once_with(dataset=api_repr.return_value, exists_ok=True)