docstr: Enqueue 3 ForwardMsgs.
docstr_tok: ["Enqueue","3","ForwardMsgs","."]
code: def test_enqueue_three(self):
      """Enqueue 3 ForwardMsgs."""
      rq = ForwardMsgQueue()
      self.assertTrue(rq.is_empty())
  
      rq.enqueue(NEW_SESSION_MSG)
  
      TEXT_DELTA_MSG1.metadata.delta_path[:] = make_delta_path(
          RootContainer.MAIN, (), 0
      )
      rq.enqueue(TEXT_DELTA_MSG1)
  
      TEXT_DELTA_MSG2.metadata.delta_path[:] = make_delta_path(
          RootContainer.MAIN, (), 1
      )
      rq.enqueue(TEXT_DELTA_MSG2)
  
      queue = rq.flush()
      self.assertEqual(3, len(queue))
      self.assertEqual(
          make_delta_path(RootContainer.MAIN, (), 0),
          queue[1].metadata.delta_path,
      )
      self.assertEqual("text1", queue[1].delta.new_element.text.body)
      self.assertEqual(
          make_delta_path(RootContainer.MAIN, (), 1),
          queue[2].metadata.delta_path,
      )
      self.assertEqual("text2", queue[2].delta.new_element.text.body)
  
file_path: streamlit/lib/tests/streamlit/runtime/forward_msg_queue_test.py
imports: import copy
  import unittest
  from typing import Tuple
  from parameterized import parameterized
  from streamlit.cursor import make_delta_path
  from streamlit.elements import arrow
  from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
  from streamlit.proto.RootContainer_pb2 import RootContainer
  from streamlit.runtime.forward_msg_queue import ForwardMsgQueue
label_desc: Use image node_id 3 for calling the ForwardMsgQueueTest obj's underlying member method code with example usage: obj.test_enqueue_three() without return types