code: def test_get_sync(self, mocker):
      mocker.patch.dict(os.environ, {"KEY1": "value1"})
      provider = EnvSecretProvider()
  
      secret = provider.get_sync("KEY1")
  
      assert secret is not None
      assert secret.value == "value1"
  
file_path: fiftyone/tests/unittests/secrets/provider_tests.py
imports: import os
  import pytest
  from fiftyone.internal.secrets import EnvSecretProvider, UnencryptedSecret, ISecret
label_desc: Use image node_id 1 for calling the TestEnvSecretProvider obj's underlying member method code with example usage: obj.test_get_sync(mocker) without return types