def METHOD_NAME(self):
    """Test get_dataset_access raises when there is an HTTP exception."""
    http_mocks.mock_http_response(fbq.PERMISSION_DENIED, '403')
    with self.assertRaises(api_errors.ApiExecutionError):
        self.bq_api_client.get_dataset_access(fbq.PROJECT_IDS[0],
                                              fbq.DATASET_ID)