docstr: Test the execute function in case where the run is successful.
docstr_tok: ["Test","the","execute","function","in","case","where","the","run","is","successful","."]
code: def test_exec_success(self, gcs_hook_mock_class):
      """Test the execute function in case where the run is successful."""
      op = PostgresToGCSOperator(
          task_id=TASK_ID,
          postgres_conn_id=POSTGRES_CONN_ID,
          sql=SQL,
          bucket=BUCKET,
          filename=FILENAME,
      )
  
      gcs_hook_mock = gcs_hook_mock_class.return_value
      gcs_hook_mock.upload.side_effect = (
          self._assert_uploaded_file_content
      )
      op.execute(None)
  
file_path: airflow/tests/providers/google/cloud/transfers/test_postgres_to_gcs.py
imports: from __future__ import annotations
  import datetime
  from unittest.mock import patch
  import pytest
  from airflow.providers.google.cloud.transfers.postgres_to_gcs import PostgresToGCSOperator
  from airflow.providers.postgres.hooks.postgres import PostgresHook
label_desc: Use image node_id 6 for calling the TestPostgresToGoogleCloudStorageOperator obj's underlying member method code with example usage: obj.test_exec_success(gcs_hook_mock_class) without return types