class_docstr: Test ability to marshall subheader protos.
docstr: Test st.subheader with anchor.
docstr_tok: ["Test","st.subheader","with","anchor","."]
code: def test_st_subheader_with_anchor(self):
      """Test st.subheader with anchor."""
      st.subheader("some subheader", anchor="some-anchor")
  
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.heading.body, "some subheader")
      self.assertEqual(el.heading.tag, "h3")
      self.assertEqual(el.heading.anchor, "some-anchor")
      self.assertFalse(el.heading.hide_anchor)
      self.assertFalse(el.heading.divider)
  
imports: import pytest
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the StSubheaderTest obj's underlying member method code with example usage: obj.test_st_subheader_with_anchor() without return types