code: def test_get(self):
      states = WidgetStates()
  
      _create_widget("trigger", states).trigger_value = True
      _create_widget("bool", states).bool_value = True
      _create_widget("float", states).double_value = 0.5
      _create_widget("int", states).int_value = 123
      _create_widget("string", states).string_value = "howdy!"
  
      session_state = SessionState()
      session_state.set_widgets_from_proto(states)
  
      session_state._set_widget_metadata(
          create_metadata("trigger", "trigger_value")
      )
      session_state._set_widget_metadata(
          create_metadata("bool", "bool_value")
      )
      session_state._set_widget_metadata(
          create_metadata("float", "double_value")
      )
      session_state._set_widget_metadata(
          create_metadata("int", "int_value")
      )
      session_state._set_widget_metadata(
          create_metadata("string", "string_value")
      )
  
      self.assertEqual(True, session_state["trigger"])
      self.assertEqual(True, session_state["bool"])
      self.assertAlmostEqual(0.5, session_state["float"])
      self.assertEqual(123, session_state["int"])
      self.assertEqual("howdy!", session_state["string"])
  
imports: import inspect
  import unittest
  from unittest.mock import ANY, MagicMock, call, patch
  from parameterized import parameterized
  import streamlit
  from streamlit import errors
  from streamlit.proto.Common_pb2 import StringTriggerValue
  from streamlit.proto.WidgetStates_pb2 import WidgetStates
  from streamlit.runtime.scriptrunner.script_run_context import get_script_run_ctx
  from streamlit.runtime.state import coalesce_widget_states
  from streamlit.runtime.state.common import GENERATED_WIDGET_ID_PREFIX, compute_widget_id
  from streamlit.runtime.state.session_state import SessionState, WidgetMetadata
  from streamlit.runtime.state.widgets import user_key_from_widget_id
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the WidgetManagerTests obj's underlying member method code with example usage: obj.test_get() without return types