code: def test_if_elif_else(self):
      page = "Dual"
  
      if page == "Single":
          with st.echo():
              st.write("Single")
  
      elif page == "Dual":
          with st.echo():
              st.write("Dual")
  
      else:
          with st.echo():
              st.write("ELSE")
  
      echo_str = 'st.write("Dual")'
      element = self.get_delta_from_queue(0).new_element
      self.assertEqual(echo_str, element.code.code_text)
      element = self.get_delta_from_queue(1).new_element
      self.assertEqual("Dual", element.markdown.body)
      self.clear_queue()
  
file_path: streamlit/lib/tests/streamlit/elements/echo_test.py
imports: from parameterized import parameterized
  import streamlit
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 3 for calling the EchoTest obj's underlying member method code with example usage: obj.test_if_elif_else() without return types