class_docstr: Test ability to marshall multiselect protos.
docstr: Test that form id is marshalled correctly inside of a form.
docstr_tok: ["Test","that","form","id","is","marshalled","correctly","inside","of","a","form","."]
code: def test_inside_form(self):
      """Test that form id is marshalled correctly inside of a form."""
  
      with st.form("form"):
          st.multiselect("foo", ["bar", "baz"])
  
      # 2 elements will be created: form block, widget
      self.assertEqual(len(self.get_all_deltas_from_queue()), 2)
  
      form_proto = self.get_delta_from_queue(0).add_block
      multiselect_proto = self.get_delta_from_queue(
          1
      ).new_element.multiselect
      self.assertEqual(
          multiselect_proto.form_id, form_proto.form.form_id
      )
  
imports: from unittest.mock import MagicMock, patch
  import numpy
  import pandas
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.elements.widgets.multiselect import _get_default_count, _get_over_max_options_message
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.testing.v1.app_test import AppTest
  from streamlit.testing.v1.util import patch_config_options
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 14 for calling the Multiselectbox obj's underlying member method code with example usage: obj.test_inside_form() without return types