code: def test_runtime_exception_when_properties_passed_by_connection(
      self, mock_get_connection
  ):
      mock_get_connection.return_value.extra_dejson = {
          "pig_properties": "one two three"
      }
      with pytest.raises(RuntimeError):
          PigCliHook()
  
file_path: airflow/tests/providers/apache/pig/hooks/test_pig.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.providers.apache.pig.hooks.pig import PigCliHook
label_desc: Use image node_id 7 for calling the TestPigCliHook obj's underlying member method code with example usage: obj.test_runtime_exception_when_properties_passed_by_connection(mock_get_connection) without return types