code: def test_get_secret_sync_not_in_pd(self, mocker):
      mocker.patch.dict(
          os.environ, {"MY_SECRET_KEY": "mocked_sync_secret_value"}
      )
  
      resolver = fop.PluginSecretsResolver()
      resolver._registered_secrets = {
          "operator": ["SOME_OTHER_SECRET_KEY"]
      }
  
      result = resolver.get_secret_sync(
          key="MY_SECRET_KEY", operator_uri="operator"
      )
  
      assert result is None
  
imports: import os
  import unittest
  from unittest.mock import MagicMock, Mock, patch
  import pytest
  import fiftyone.plugins
  from fiftyone.internal import secrets
  from fiftyone.internal.secrets import UnencryptedSecret
  from fiftyone.operators import Operator
  from fiftyone.operators.executor import ExecutionContext
label_desc: Use image node_id 2 for calling the TestGetSecretSync obj's underlying member method code with example usage: obj.test_get_secret_sync_not_in_pd(mocker) without return types