def METHOD_NAME(self):
    """Tests that col_modes is ignored when no column_types are provided
       to add_df_to_bq."""
    test_frame = DataFrame(
        data=self._test_data[1:], columns=self._test_data[0], index=[1, 2])
    with patch('ingestion.gcs_to_bq_util.bigquery.Client') as mock_client:
        # Set up mock calls
        mock_instance = mock_client.return_value
        mock_table = Mock()
        mock_instance.dataset.return_value = mock_table
        mock_table.table.return_value = 'test-project.test-dataset.table'
        gcs_to_bq_util.add_df_to_bq(
            test_frame.copy(deep=True), "test-dataset", "table",
            col_modes={'label1': 'REPEATED', 'label2': 'REQUIRED'})
        mock_instance.load_table_from_json.assert_called()
        call_args = mock_instance.load_table_from_json.call_args
        self.assertEqual(call_args.args[0],
                         json.loads(test_frame.to_json(orient='records')))
        job_config = call_args.kwargs['job_config']
        self.assertTrue(job_config.autodetect)