docstr: Test that it can be called with just text.
docstr_tok: ["Test","that","it","can","be","called","with","just","text","."]
code: def test_just_text(self):
      """Test that it can be called with just text."""
      st.toast("toast text")
  
      c = self.get_delta_from_queue().new_element.toast
      self.assertEqual(c.body, "toast text")
      self.assertEqual(c.icon, "")
  
file_path: streamlit/lib/tests/streamlit/toast_test.py
imports: import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the ToastTest obj's underlying member method code with example usage: obj.test_just_text() without return types