def METHOD_NAME(pytestconfig, tmp_path):
    with mock.patch("simple_salesforce.Salesforce") as mock_sdk:
        mock_sf = mock.Mock()
        mocked_call = mock.Mock()
        mocked_call.side_effect = side_effect_call_salesforce
        mock_sf._call_salesforce = mocked_call
        mock_sdk.return_value = mock_sf
        pipeline = Pipeline.create(
            {
                "run_id": "salesforce-test",
                "source": {
                    "type": "salesforce",
                    "config": {
                        "auth": "DIRECT_ACCESS_TOKEN",
                        "instance_url": "https://mydomain.my.salesforce.com/",
                        "access_token": "access_token`",
                        "ingest_tags": True,
                        "object_pattern": {
                            "allow": [
                                "^Account$",
                                "^Property__c$",
                            ],
                        },
                        "domain": {"sales": {"allow": {"^Property__c$"}}},
                        "profiling": {"enabled": True},
                        "profile_pattern": {
                            "allow": [
                                "^Property__c$",
                            ]
                        },
                    },
                },
                "sink": {
                    "type": "file",
                    "config": {
                        "filename": f"{tmp_path}/salesforce_mces.json",
                    },
                },
            }
        )
        pipeline.run()
        pipeline.raise_from_status()
        mce_helpers.check_golden_file(
            pytestconfig,
            output_path=f"{tmp_path}/salesforce_mces.json",
            golden_path=test_resources_dir / "salesforce_mces_golden.json",
            ignore_paths=mce_helpers.IGNORE_PATH_TIMESTAMPS,
        )