code: def test_getattr_friendly_error_message(self):
      with pytest.raises(AttributeError) as e:
          MockConnection(
              "my_mock_connection"
          ).some_raw_connection_method()
  
      assert (
          str(e.value)
          == "`some_raw_connection_method` doesn't exist here, but you can call `._instance.some_raw_connection_method` instead"
      )
      assert (
          MockConnection(
              "my_mock_connection"
          )._instance.some_raw_connection_method()
          == "some raw connection method"
      )
  
imports: import os
  import unittest
  from unittest.mock import PropertyMock, mock_open, patch
  import pytest
  import streamlit
  from streamlit.connections import BaseConnection
  from streamlit.runtime.secrets import AttrDict
label_desc: Use image node_id 5 for calling the BaseConnectionDefaultMethodTests obj's underlying member method code with example usage: obj.test_getattr_friendly_error_message() without return types