code: def test_PropertyRendererComponent(with_transform_fn, expected):
      state = AnalysisState({"some": {"prop": "value"}})
      call_display_obj = MagicMock()
  
      transform_fn = (
          (lambda v: v.upper()) if with_transform_fn else None
      )
  
      viz = PropertyRendererComponent(
          "some.prop", transform_fn=transform_fn
      )
      viz.display_obj = call_display_obj
  
      viz.render(state)
  
      call_display_obj.assert_called_with(expected)
  
imports: from unittest.mock import MagicMock
  import pytest
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import PropertyRendererComponent
label_desc: Use image node_id 1 for calling a global function with example usage: test_PropertyRendererComponent(with_transform_fn, expected) without return types