@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Table')
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Client')
def test_list_rows_with_empty_selected_fields(self, mock_client, mock_table):
    self.hook.list_rows(dataset_id=DATASET_ID, table_id=TABLE_ID, max_results=10, page_token='page123', selected_fields=[], start_index=5, location=LOCATION)
    mock_table.from_api_repr.assert_called_once_with({'tableReference': TABLE_REFERENCE_REPR})
    mock_client.return_value.list_rows.assert_called_once_with(table=mock_table.from_api_repr.return_value, max_results=10, page_token='page123', selected_fields=None, start_index=5)
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Table')
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.Client')
def test_list_rows_with_empty_selected_fields(self, mock_client, mock_table):
    self.hook.list_rows(dataset_id=DATASET_ID, table_id=TABLE_ID, max_results=10, page_token='page123', selected_fields=[], start_index=5, location=LOCATION)
    mock_table.from_api_repr.assert_called_once_with({'tableReference': TABLE_REFERENCE_REPR})
    mock_client.return_value.list_rows.assert_called_once_with(table=mock_table.from_api_repr.return_value, max_results=10, page_token='page123', selected_fields=None, start_index=5)