class_docstr: Test ability to marshall header protos.
docstr: Test st.header with anchor.
docstr_tok: ["Test","st.header","with","anchor","."]
code: def test_st_header_with_anchor(self):
      """Test st.header with anchor."""
      st.header("some header", anchor="some-anchor")
  
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.heading.body, "some header")
      self.assertEqual(el.heading.tag, "h2")
      self.assertEqual(el.heading.anchor, "some-anchor")
      self.assertFalse(el.heading.hide_anchor, False)
      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 StHeaderTest obj's underlying member method code with example usage: obj.test_st_header_with_anchor() without return types