code: def test_text_sample_data():
      data = Text().get_sample_data()
      assert isinstance(data, dict)
      assert "text" in data
      assert len(data["text"]) > 20
  
file_path: pytorch-lightning/tests/tests_app/components/serve/test_python_server.py
imports: import multiprocessing
  from lightning.app.components import Category, Image, Number, PythonServer, Text
  from lightning.app.utilities.network import _configure_session, find_free_network_port
label_desc: Use image node_id 4 for calling a global function with example usage: test_text_sample_data() without return types